Class: parserDocBlock
Source Location: /phpDocumentor/ParserDocBlock.inc
Represents a docblock and its components, $desc, $sdesc, $tags, and also $params for functions
Author(s):
Version:
- $Id: ParserDocBlock.inc 287886 2009-08-30 05:31:05Z ashnazg $
|
|
|
Class Details
Class Variables
Class Methods
constructor parserDocBlock [line 256]
parserDocBlock parserDocBlock(
)
|
|
sets package to default
Tags:
method addAccess [line 916]
void addAccess(
string
$value)
|
|
add an @access tag to the tags array
Parameters:
method addExample [line 641]
void addExample(
string
$value, string
$path)
|
|
adds an @example tag
Parameters:
method addFileSource [line 943]
void addFileSource(
string
$path, array
$source)
|
|
Adds a new @filesource tag to the DocBlock
Tags:
Parameters:
method addFuncGlobal [line 857]
void addFuncGlobal(
string
$type, string
$value)
|
|
adds a function declaration of @global to the $funcglobals array
Parameters:
method addKeyword [line 609]
method addLink [line 953]
void addLink(
string
$link)
|
|
creates a parserLinkTag and adds it to the $tags array
Parameters:
method addName [line 825]
void addName(
string
$value)
|
|
Adds a @name tag to the tag list
Parameters:
method addPackage [line 728]
void addPackage(
string
$keyword, mixed
$value)
|
|
Parameters:
method addParam [line 520]
method addProperty [line 1033]
void addProperty(
$tagName,
$propertyName,
$propertyType,
$value)
|
|
Adds a @property(-read or -write) or @method magic tag to the DocBlock
Parameters:
method addReturn [line 976]
method addSee [line 964]
void addSee(
string
$keyword, string
$value)
|
|
creates a parserLinkTag and adds it to the $tags array
Parameters:
method addStaticVar [line 844]
method addTag [line 587]
Used to insert DocBlock Template tags into a docblock
Tags:
Parameters:
method addUnknownTag [line 651]
void addUnknownTag(
string
$keyword, string
$value)
|
|
adds an unknown tag to the $unknown_tags array for use by custom converters
Parameters:
method addUses [line 1024]
Add a @uses tag to the DocBlock
Tags:
Parameters:
method addVar [line 993]
creates a parserVarTag and adds it to the $tags array
Parameters:
method canSource [line 320]
Tells the DocBlock it can have a @filesource tag Only page-level DocBlocks may have a @filesource tag
method cantSource [line 330]
Tells the DocBlock it can't have a @filesource tag Only page-level DocBlocks may have a @filesource tag
method changeGlobal [line 866]
void changeGlobal(
integer
$index, string
$name)
|
|
Parameters:
method changeParam [line 537]
void changeParam(
integer
$index, string
$name, string|null
$type)
|
|
Parameters:
method changeStatic [line 876]
void changeStatic(
integer
$index, string
$name)
|
|
Parameters:
method getDesc [line 498]
method getEndLineNumber [line 294]
integer getEndLineNumber(
)
|
|
Retrieve ending line number
method getExplicitCategory [line 719]
boolean getExplicitCategory(
)
|
|
If the DocBlock has a @category tag, then this returns true
method getExplicitPackage [line 698]
boolean getExplicitPackage(
)
|
|
If the DocBlock has a @package tag, then this returns true
method getKeyword [line 1076]
mixed getKeyword(
string
$keyword)
|
|
Tags:
Parameters:
method getLineNumber [line 276]
Retrieve starting line number
method getSDesc [line 476]
method getType [line 1141]
method hasInheritDoc [line 453]
method listParams [line 1091]
method listProperties [line 1109]
method listTags [line 1125]
method overridePackage [line 666]
void overridePackage(
string
$category, string
$package, string
$subpackage, string
$elname, string
$type)
|
|
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
Parameters:
method postProcess [line 304]
Parse out any html tags from doc comments, and make them into abstract structures
Tags:
method replaceInheritDoc [line 465]
method resetParams [line 528]
method setDesc [line 438]
method setEndLineNumber [line 285]
void setEndLineNumber(
integer
$number)
|
|
Sets the ending line number for the DocBlock
Parameters:
method setExplicitCategory [line 710]
void setExplicitCategory(
)
|
|
Used if this docblock has a @category tag. phpDocumentor will guess category for DocBlocks that don't have a @category tag
Tags:
method setExplicitPackage [line 689]
void setExplicitPackage(
)
|
|
Used if this docblock has a @package tag. phpDocumentor will guess package for DocBlocks that don't have a @package tag
Tags:
method setLineNumber [line 267]
void setLineNumber(
integer
$number)
|
|
Sets the starting line number for the DocBlock
Parameters:
method setShortDesc [line 396]
Set the short description of the DocBlock Setting the short description is possible by passing in one of three possible parameters: - another DocBlock's short description
- another DocBlock, the short description will be extracted
- a Zend Studio-compatible @desc tag
Parameters:
method setSource [line 426]
method updateGlobals [line 886]
void updateGlobals(
array
$funcs)
|
|
replaces nameless global variables in the $funcglobals array with their names
Parameters:
method updateModifiers [line 355]
void updateModifiers(
array
$modifiers)
|
|
Parameters:
method updateParams [line 552]
void updateParams(
array
$params)
|
|
replaces nameless parameters in the $params array with their names add @param tags for params in the function with no entry
Parameters:
method updateStatics [line 901]
void updateStatics(
array
$funcs)
|
|
replaces nameless static variables in the $statics array with their names
Parameters:
|
|