parserFunctionLocated in /phpDocumentor/ParserElements.inc (line 321)
parserBase | --parserElement | --parserFunction
| Class | Description |
|---|---|
parserMethod
|
void
addParam
(string $name, string $value, [boolean $has_default = true], [null|string $typehint = null])
array
$globals
= false (line 351)
global declarations parsed from function definition
array
$params
= false (line 335)
parameters parsed from function definition.
param name may be null, in which case, updateParams() must be called from the Converter
boolean
$returnsreference
= false (line 345)
Function returns a reference to an element, instead of a value
set to true if function is declared as:
mixed
$source
= '' (line 358)
array
$statics
= false (line 356)
static variable declarations parsed from function definition
string
$type
= 'function' (line 327)
Type is used by many functions to skip the hassle of if phpDocumentor_get_class($blah) == 'parserBlah'
Inherited from parserElement
parserElement::$conflicts
parserElement::$docblock
parserElement::$endlinenumber
parserElement::$file
parserElement::$linenumber
parserElement::$name
parserElement::$path
Inherited from parserBase
parserBase::$value
addGlobals (line 433)
Add all "global $var, $var2" declarations to this function
addParam (line 366)
addSource (line 379)
Set the source code. Always array in PHP 4.3.0+
addStatics (line 443)
Add all "static $var, $var2 = 6" declarations to this function
getConflicts (line 422)
Returns all functions in other packages that have the same name as this function
getFunctionCall (line 580)
Get a human-friendly description of the function call
takes declaration like:
getIntricateFunctionCall (line 621)
Like getFunctionCall(), but has no English or pre-determined formatting.
Much more flexible.
getLink (line 408)
quick way to link to this element
getParam (line 464)
getReturnsReference (line 561)
getSource (line 397)
hasSource (line 388)
Determine whether the source code has been requested via {@source}
listGlobals (line 515)
listParams (line 480)
listStatics (line 534)
setReturnsReference (line 553)
sets $returnsreference to true
Inherited From parserElement
parserElement::getEndLineNumber()
parserElement::getFile()
parserElement::getLineNumber()
parserElement::getName()
parserElement::getPackage()
parserElement::getPath()
parserElement::setDocBlock()
parserElement::setEndLineNumber()
parserElement::setFile()
parserElement::setLineNumber()
parserElement::setName()
parserElement::setPath()
Inherited From parserBase
parserBase::getType()
parserBase::getValue()
parserBase::setValue()
Documentation generated on Mon, 05 Dec 2011 21:39:55 -0600 by phpDocumentor 1.4.4