Description
parserBase
|
--parserStringWithInlineTags
|
--parserTag
Located in File: /phpDocumentor/DocBlockTags.inc
used to represent standard tags like @access, etc.
This class is aware of inline tags, and will automatically handle them using inherited functions
Classes extended from parserTag:
- parserNameTag
- This class represents the @name tag
- parserAccessTag
- This class represents the @access tag
- parserReturnTag
- represents the "@return" tag
- parserLinkTag
- represents the "@link" tag
- parserFileSourceTag
- represents "@filesource"
Method Detail
Summary:
Constructor parserTag (line 86)
parserTag parserTag(
string
$keyword, parserStringWithInlineTags
$value, [boolean
$noparse = false])
Set up the tag
function parserTag($keyword, $value, $noparse =
false)
{
if (!$noparse) {
$parser->subscribe('*', $this);
$parser->parse($value->value, true, 'parserstringwithinlinetags');
} else {
}
}
Parameters
- string $keyword: tag name
- parserStringWithInlineTags $value: tag value
- boolean $noparse: whether to parse the $value for html tags
Info
Method getString (line 173)
string getString(
)
Overridden in child classes as:
- parserAccessTag::getString()
- No inline tags are possible, returns 'public', 'protected' or 'private'
Overrides : 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)
Returns the text minus any inline tags
Info
Method HandleEvent (line 162)
void HandleEvent(
integer
$a, array
$desc)
Called by the parserDescParser when processing a description.
Parameters
Info