Class parserDesc

(line 47)

Description

parserBase
   |
   --parserStringWithInlineTags
      |
      --parserDesc

Located in File: /phpDocumentor/ParserDocBlock.inc

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


Class Variables

Summary:
string $type

$type = '_desc' (line 54)

Data type : string

Overrides: Array

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

always '_desc'

Class Constants

Summary:

Method Detail

Summary:
void add (mixed $stringOrClass)
boolean hasInheritDoc ()
boolean hasSource ()

Method add (line 60)

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

Info

Method hasInheritDoc (line 81)

boolean hasInheritDoc( )

Info

  • return - whether this desc has an {@inheritdoc} inline tag

Method hasSource (line 92)

boolean hasSource( )

Info

  • return - whether this desc has an {@source} inline tag

Method replaceInheritDoc (line 104)

void replaceInheritDoc( parserDesc $desc)

replaces {@inheritdoc} with the contents of the parent DocBlock

Parameters

  • parserDesc $desc: parent parserDesc, used to retrieve the description

Info

Inherited Variables

Inherited Class Variable Summary

Inherited From Class parserStringWithInlineTags

parserStringWithInlineTags::$value - array of strings and parserInlineTags

Inherited Methods

Inherited Method Summary

Inherited From 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 is in the string)

parserStringWithInlineTags::hasInlineTag() - Determine whether the string contains any inline tags

parserStringWithInlineTags::setSource() - Pass source code to any {@source} tags contained within the string for later conversion.

parserStringWithInlineTags::trimmedStrlen() - equivalent to trim(strlen($string))


Inherited From Class parserBase

parserBase::getType() - gets the type

parserBase::getValue() - gets the value

parserBase::setValue() - sets the given value



Documentation generated on Mon, 05 Dec 2011 21:28:40 -0600 by phpDocumentor 1.4.4