eZPublish  3.8
eZXHTMLXMLOutput Class Reference
+ Inheritance diagram for eZXHTMLXMLOutput:
+ Collaboration diagram for eZXHTMLXMLOutput:

Public Member Functions

 eZXHTMLXMLOutput (&$xmlData, $aliasedType, &$contentObjectAttribute)
 
outputText ()
 
xhtml ()
 
- Public Member Functions inherited from eZXMLOutputHandler
attribute ($name)
 
 attributes ()
 
 eZXMLOutputHandler (&$xmlData, $aliasedType)
 
 hasAttribute ($name)
 
 isValid ()
 
viewTemplateName ()
 
viewTemplateSuffix (&$contentobjectAttribute)
 
 xmlData ()
 

Public Attributes

 $AllowedClassesLiteral = array()
 
 $AllowMultipleSpaces = false
 
 $HeaderCount = array()
 
 $InLineTagArray = array( 'emphasize', 'strong', 'link', 'anchor', '#text' )
 
 $LinkArray = array()
 Contains the URL's for <link> tags hashed by ID. More...
 
 $LinkParameters = array()
 Array of parameters for rendering tags that are children of 'link' tag. More...
 
 $NodeArray = array()
 Contains the Nodes hashed by ID. More...
 
 $ObjectArray = array()
 Contains the Objects hashed by ID. More...
 
 $ObjectAttributeId = null
 

Private Member Functions

renderList (&$tpl, &$listNode, $currentSectionLevel, $listSectionLevel=null)
 
renderXHTMLParagraph (&$tpl, &$paragraph, $currentSectionLevel, $tdSectionLevel=null)
 
renderXHTMLSection (&$tpl, &$section, $currentSectionLevel, $tdSectionLevel=null)
 
renderXHTMLTag (&$tpl, &$tag, $currentSectionLevel, &$isBlockTag, $tdSectionLevel=null, $isChildOfLinkTag=false)
 

Member Function Documentation

eZXHTMLXMLOutput::eZXHTMLXMLOutput ( $xmlData,
  $aliasedType,
$contentObjectAttribute 
)
& eZXHTMLXMLOutput::outputText ( )
virtual

Implements eZXMLOutputHandler.

& eZXHTMLXMLOutput::renderList ( $tpl,
$listNode,
  $currentSectionLevel,
  $listSectionLevel = null 
)
private
Returns
the XHTML rendered version of the section
& eZXHTMLXMLOutput::renderXHTMLParagraph ( $tpl,
$paragraph,
  $currentSectionLevel,
  $tdSectionLevel = null 
)
private
Returns
XHTML rendered version of the paragrph

Referenced by renderList(), and renderXHTMLSection().

& eZXHTMLXMLOutput::renderXHTMLSection ( $tpl,
$section,
  $currentSectionLevel,
  $tdSectionLevel = null 
)
private
Returns
the XHTML rendered version of the section

Referenced by renderList(), renderXHTMLTag(), and xhtml().

& eZXHTMLXMLOutput::renderXHTMLTag ( $tpl,
$tag,
  $currentSectionLevel,
$isBlockTag,
  $tdSectionLevel = null,
  $isChildOfLinkTag = false 
)
private

Will render a tag and return the rendered text.

Referenced by renderXHTMLParagraph(), and renderXHTMLSection().

& eZXHTMLXMLOutput::xhtml ( )
Returns
the XHTML rendered value of the XML data

Referenced by outputText().

Member Data Documentation

eZXHTMLXMLOutput::$AllowedClassesLiteral = array()
eZXHTMLXMLOutput::$AllowMultipleSpaces = false
eZXHTMLXMLOutput::$HeaderCount = array()
eZXHTMLXMLOutput::$InLineTagArray = array( 'emphasize', 'strong', 'link', 'anchor', '#text' )

Referenced by renderXHTMLTag().

eZXHTMLXMLOutput::$LinkArray = array()

Contains the URL's for <link> tags hashed by ID.

eZXHTMLXMLOutput::$LinkParameters = array()

Array of parameters for rendering tags that are children of 'link' tag.

eZXHTMLXMLOutput::$NodeArray = array()

Contains the Nodes hashed by ID.

eZXHTMLXMLOutput::$ObjectArray = array()

Contains the Objects hashed by ID.

eZXHTMLXMLOutput::$ObjectAttributeId = null

The documentation for this class was generated from the following file: