phpDocumentor
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]

Class: parserDesc

Source Location: /PhpDocumentor-1.2.0beta2/phpDocumentor/ParserDocBlock.inc

Class Overview

parserBase
   |
   --parserStringWithInlineTags
      |
      --parserDesc

represents a short or long description in a DocBlock (parserDocBlock)


Author(s):

Version:

  • $Id: ParserDocBlock.inc,v 1.27 2003/01/18 07:25:19 CelloG Exp $

Variables

Methods


Inherited Variables

Inherited Methods

Class: parserStringWithInlineTags

parserStringWithInlineTags::add()
equivalent to the . operator ($a = $b . $c)
parserStringWithInlineTags::Convert()
Use to convert the string to a real string with all inline tags parsed and linked
parserStringWithInlineTags::getString()
return the string unconverted (all inline tags are taken out - this should only be used in pre-parsing to see if any other text
parserStringWithInlineTags::setSource()
parserStringWithInlineTags::trimmedStrlen()
equivalent to trim(strlen($string))

Class: parserBase

parserBase::getType()
parserBase::getValue()
parserBase::setLineNum()
parserBase::setValue()

Class Details

[line 15]
represents a short or long description in a DocBlock (parserDocBlock)


[ Top ]


Class Variables

$type =  '_desc'

[line 22]

Type is used by many functions to skip the hassle of if get_class($blah) == 'parserBlah'

always '_desc'


Type:   string
Overrides:   Array


[ Top ]



Method Detail

add   [line 28]

void add( mixed $stringOrClass)


Overrides parserStringWithInlineTags::add() (equivalent to the . operator ($a = $b . $c))

Parameters:

mixed   $stringOrClass     like parserStringWithInlineTags::add(), this can be a string or parserInlineTag, but it can also be a parserStringWithInlineTags, and the contents will be merged

[ Top ]

hasInheritDoc   [line 48]

boolean hasInheritDoc( )

  • Return: whether this desc has an { @inheritdoc} inline tag

[ Top ]

replaceInheritDoc   [line 56]

void replaceInheritDoc( mixed $desc)


[ Top ]


Documentation generated on Fri, 30 Apr 2004 22:10:23 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.