parserXMLDocBookTaga standard XML DocBook Tag
This class is designed to represent all DocBook tags. It is intelligent enough to understand the <title> tag, and also the <refname> tag for as title for <refentry>
Located in /phpDocumentor/PackagePageElements.inc (line 122)
parserBase | --parserStringWithInlineTags | --parserXMLDocBookTag
array
$attributes
= array() (line 130)
Attributes from the XML tag
Format: array(attrname => attrvalue, attrname => attrvalue,...)
string
$name
(line 135)
Name of the tag
Inherited from parserStringWithInlineTags
parserStringWithInlineTags::$type
parserStringWithInlineTags::$value
Constructor parserXMLDocBookTag (line 165)
sets up the tag
add (line 443)
Add contents to this tag.
There are four kinds of data in a DocBook tutorial:
addAttribute (line 271)
Add an xml tag attribute name="value" pair
if the attribute is id, value must be a parserIdInlineTag
addCData (line 256)
add a word to CData
Convert (line 180)
calls the output conversion
endCData (line 211)
Adds $_cdata to $value
getId (line 323)
Return converter-specific formatting of ID.
Passes $c to parserIdInlineTag::Convert()
getSubsection (line 401)
Retrieve the contents of a subsection
This method uses the $_id members of nested docbook tags to retrieve the section defined by $subsection
getTitle (line 347)
Retrieve Converter-specific formatting of the title of this element
getTOC (line 228)
Retrieve either the table of contents index, or the location that the TOC will go
hasTitle (line 335)
Determine whether the docbook element has a title
setId (line 309)
If the id attribute is present, this method will set its id
setTitle (line 297)
Set the title of a DocBook tag section.
For most DocBook tags, the title is represented with a <title></title> tag pair. The <refentry> top-level tag is a little different. Instead of using <title></title>, phpDocumentor uses the contents of the <refname> tag in the <refnamediv> tag
setTOC (line 244)
sets the TOC value
startCData (line 201)
Begin a new CData section
Inherited From parserStringWithInlineTags
parserStringWithInlineTags::add()
parserStringWithInlineTags::Convert()
parserStringWithInlineTags::getString()
parserStringWithInlineTags::hasInlineTag()
parserStringWithInlineTags::setSource()
parserStringWithInlineTags::trimmedStrlen()
Inherited From parserBase
parserBase::getType()
parserBase::getValue()
parserBase::setValue()
Documentation generated on Mon, 05 Dec 2011 21:39:47 -0600 by phpDocumentor 1.4.4