phpDocumentor
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]

Class: parserCData

Source Location: /PhpDocumentor-1.5.0a1/phpDocumentor/PackagePageElements.inc

Class Overview

parserBase
   |
   --parserStringWithInlineTags
      |
      --parserCData

Represents <![CDATA[ ]]> sections.


Author(s):

Version:

  • Release: 1.5.0a1

Copyright:

  • 2002-2008 Gregory Beaver

Methods


Inherited Variables

Inherited Methods

Class: parserStringWithInlineTags

parserStringWithInlineTags::add()
equivalent to the . operator ($a = $b . $c)
parserStringWithInlineTags::Convert()
Use to convert the string to a real string with all inline tags parsed and linked
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)
parserStringWithInlineTags::hasInlineTag()
Determine whether the string contains any inline tags
parserStringWithInlineTags::setSource()
Pass source code to any {@source} tags contained within the string for later conversion.
parserStringWithInlineTags::trimmedStrlen()
equivalent to trim(strlen($string))

Class: parserBase

parserBase::getType()
gets the type
parserBase::getValue()
gets the value
parserBase::setValue()
sets the given value

Class Details

[line 72]
Represents <![CDATA[ ]]> sections.

These sections are interpreted as plain text



[ Top ]


Method Detail

Convert   [line 84]

string Convert( Converter &$c, [bool $postprocess = true])

calls the output conversion
  • Todo: CS cleanup - rename to convert for camelCase rule
  • Uses: Converter::getCData() - convert contents to text

Overrides parserStringWithInlineTags::Convert() (Use to convert the string to a real string with all inline tags parsed and linked)

Parameters:

Converter   &$c   —  the output converter
bool   $postprocess   —  if postprocessing is needed

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:50:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.