parserDocBlockRepresents a docblock and its components, $desc, $sdesc, $tags, and also $params for functions
Located in /phpDocumentor/ParserDocBlock.inc (line 129)
void
overridePackage
(string $category, string $package, string $subpackage, string $elname, string $type)
string
$category
(line 219)
parserDesc
$desc
= false (line 134)
false|integer
$endlinenumber
= false (line 158)
Line number in the source on which this docblock ends
boolean
$explicitcategory
= false (line 217)
fix for bug 708559
boolean
$explicitpackage
= false (line 212)
fix for bug 591396
array
$funcglobals
= array() (line 184)
array of global variable data.
Format: array(index of global variable in @global tag list -OR- global variable name => array(datatype,parserStringWithInlineTags),...)
boolean
$hasaccess
= false (line 227)
whether this DocBlock has an @access tag
boolean
$hasname
= false (line 231)
whether this DocBlock has a @name tag
false|integer
$linenumber
= false (line 152)
Line number in the source on which this docblock begins
string
$package
= 'default' (line 221)
string
$packagedescrip
= '' (line 237)
description of package parsed from @package tag
Unused in this version
array
$params
= array() (line 176)
array of param data.
Format: array(index of param in function parameter list -OR- parameter name => parserStringWithInlineTags,...)
array
$processed_desc
= false (line 138)
array
$processed_sdesc
= false (line 142)
mixed
$properties
= array() (line 197)
array of parserPropertyTag, parserPropertyReadTag, parserPropertyWriteTag, parserMethodTag magic tags
mixed
$return
= false (line 202)
This is either a parserReturnTag or false if no return tag is present
parserDesc
$sdesc
= false (line 146)
array
$statics
= array() (line 193)
array of static variable data.
Format: array(index of static variable in @global tag list -OR- static variable name => parserStaticvarTag,...)
string
$subpackage
= '' (line 223)
string
$subpackagedescrip
= '' (line 243)
description of subpackage parsed from @package tag
Unused in this version
array
$tags
= array() (line 163)
array of parserTags
array
$unknown_tags
= array() (line 168)
array of unrecognized parserTags
mixed
$var
= false (line 207)
This is either a parserVarTag or false if no var tag is present
Constructor parserDocBlock (line 256)
sets package to default
addAccess (line 916)
add an @access tag to the tags array
addExample (line 641)
adds an @example tag
addFileSource (line 943)
Adds a new @filesource tag to the DocBlock
addFuncGlobal (line 857)
adds a function declaration of @global to the $funcglobals array
addKeyword (line 609)
addLink (line 953)
creates a parserLinkTag and adds it to the $tags array
addName (line 825)
Adds a @name tag to the tag list
addPackage (line 728)
addParam (line 520)
addProperty (line 1033)
Adds a @property(-read or -write) or @method magic tag to the DocBlock
addReturn (line 976)
creates a parserReturnTag and adds it to the $tags array
addSee (line 964)
creates a parserLinkTag and adds it to the $tags array
addStaticVar (line 844)
addUnknownTag (line 651)
adds an unknown tag to the $unknown_tags array for use by custom converters
addUses (line 1024)
Add a @uses tag to the DocBlock
addVar (line 993)
creates a parserVarTag and adds it to the $tags array
canSource (line 320)
Tells the DocBlock it can have a @filesource tag
Only page-level DocBlocks may have a @filesource tag
cantSource (line 330)
Tells the DocBlock it can't have a @filesource tag
Only page-level DocBlocks may have a @filesource tag
changeGlobal (line 866)
changeParam (line 537)
changeStatic (line 876)
getDesc (line 498)
getEndLineNumber (line 294)
Retrieve ending line number
getExplicitCategory (line 719)
If the DocBlock has a @category tag, then this returns true
getExplicitPackage (line 698)
If the DocBlock has a @package tag, then this returns true
getKeyword (line 1076)
getLineNumber (line 276)
Retrieve starting line number
getSDesc (line 476)
getType (line 1141)
listParams (line 1091)
listProperties (line 1109)
overridePackage (line 666)
set the element's package to the passed values. Used in phpDocumentor_IntermediateParser to align package of
elements inside a class or procedural page to the package of the class/procedural page
postProcess (line 304)
Parse out any html tags from doc comments, and make them into
abstract structures
replaceInheritDoc (line 465)
Wrapper for parserDesc::replaceInheritDoc()
Also replaces {@inheritdoc} in the $processed_desc
resetParams (line 528)
setDesc (line 438)
setEndLineNumber (line 285)
Sets the ending line number for the DocBlock
setExplicitCategory (line 710)
Used if this docblock has a @category tag.
phpDocumentor will guess category for DocBlocks that don't have a @category tag
setExplicitPackage (line 689)
Used if this docblock has a @package tag.
phpDocumentor will guess package for DocBlocks that don't have a @package tag
setLineNumber (line 267)
Sets the starting line number for the DocBlock
setShortDesc (line 396)
Set the short description of the DocBlock
Setting the short description is possible by passing in one of three possible parameters:
setSource (line 426)
Passes to parserStringWithInlineTags::setSource()
After passing, it calls postProcess() to set up the new source
updateGlobals (line 886)
replaces nameless global variables in the $funcglobals array with their names
updateModifiers (line 355)
updateParams (line 552)
replaces nameless parameters in the $params array with their names
add @param tags for params in the function with no entry
updateStatics (line 901)
replaces nameless static variables in the $statics array with their names
Documentation generated on Mon, 05 Dec 2011 21:06:19 -0600 by phpDocumentor 1.4.4