eZPublish  4.7
eZXMLOutputHandler Class Referenceabstract

The class eZXMLOutputHandler does. More...

+ Inheritance diagram for eZXMLOutputHandler:

Public Member Functions

 attribute ($name)
 
 attributes ()
 
 callTagInitHandler ($handlerName, $element, &$attributes, &$siblingParams, &$parentParams)
 
 callTagRenderHandler ($handlerName, $element, $childrenOutput, $vars)
 
 eZXMLOutputHandler ($xmlData, $aliasedType, $contentObjectAttribute=null)
 
 getAttributeValueArray ($tagName, $attributeName)
 
 hasAttribute ($name)
 
 isValid ()
 
 outputTag ($element, &$siblingParams, $parentParams=array())
 
outputText ()
 
 prefetch ()
 
 renderAll ($element, $childrenOutput, $vars)
 
 renderTag ($element, $content, $vars)
 
viewTemplateName ()
 
viewTemplateSuffix (&$contentobjectAttribute)
 
 xmlData ()
 

Public Attributes

 $AliasedHandler
 
 $AliasedType
 
 $AllowMultipleSpaces = false
 
 $AllowNumericEntities = false
 
 $ContentObjectAttribute
 
 $Document
 
 $LinkArray = array()
 Contains the URL's for <link> tags hashed by ID. More...
 
 $NestingLevel = 0
 
 $NodeArray = array()
 Contains the Nodes hashed by ID. More...
 
 $ObjectArray = array()
 Contains the Objects hashed by ID. More...
 
 $ObjectAttributeID
 
 $Output = ''
 
 $OutputTags = array()
 
 $Res
 
 $TemplatesPath = 'design:content/datatype/view/ezxmltags/'
 
 $TemplateURI = ''
 
 $Tpl
 
 $XMLData
 Contains the XML data as text. More...
 
 $XMLSchema
 

Detailed Description

The class eZXMLOutputHandler does.

Member Function Documentation

eZXMLOutputHandler::attribute (   $name)
Returns
the value of the attribute $name if it exists, if not returns null.
eZXMLOutputHandler::attributes ( )
Returns
an array with attribute names.

Referenced by hasAttribute().

eZXMLOutputHandler::callTagInitHandler (   $handlerName,
  $element,
$attributes,
$siblingParams,
$parentParams 
)

Referenced by outputTag().

eZXMLOutputHandler::callTagRenderHandler (   $handlerName,
  $element,
  $childrenOutput,
  $vars 
)

Referenced by outputTag().

eZXMLOutputHandler::eZXMLOutputHandler (   $xmlData,
  $aliasedType,
  $contentObjectAttribute = null 
)
eZXMLOutputHandler::getAttributeValueArray (   $tagName,
  $attributeName 
)

Referenced by prefetch().

eZXMLOutputHandler::hasAttribute (   $name)
Returns
true if the attribute $name exists.
eZXMLOutputHandler::isValid ( )
Returns
true if the output handler is considered valid, if not the handler will not be used.
Note
Default returns true
eZXMLOutputHandler::outputTag (   $element,
$siblingParams,
  $parentParams = array() 
)

Referenced by outputText().

& eZXMLOutputHandler::outputText ( )

Returns the output text representation of the XML structure Default implementation uses default mechanism of rules and tag handlers to render tags.

Referenced by attribute().

eZXMLOutputHandler::prefetch ( )

Referenced by outputText().

eZXMLOutputHandler::renderAll (   $element,
  $childrenOutput,
  $vars 
)
eZXMLOutputHandler::renderTag (   $element,
  $content,
  $vars 
)
& eZXMLOutputHandler::viewTemplateName ( )
Returns
the template name for this input handler, includes the edit suffix if any.

Referenced by attribute().

& eZXMLOutputHandler::viewTemplateSuffix ( $contentobjectAttribute)
pure virtual
Returns
the suffix for the attribute template, if false it is ignored.

Referenced by viewTemplateName().

eZXMLOutputHandler::xmlData ( )
Returns
the xml data as text.

Referenced by eZPlainXMLOutput\outputText().

Member Data Documentation

eZXMLOutputHandler::$AliasedHandler

Referenced by attribute().

eZXMLOutputHandler::$AliasedType

Referenced by attribute().

eZXMLOutputHandler::$AllowMultipleSpaces = false
eZXMLOutputHandler::$AllowNumericEntities = false
eZXMLOutputHandler::$ContentObjectAttribute
eZXMLOutputHandler::$Document
eZXMLOutputHandler::$LinkArray = array()

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

eZXMLOutputHandler::$NestingLevel = 0
eZXMLOutputHandler::$NodeArray = array()

Contains the Nodes hashed by ID.

eZXMLOutputHandler::$ObjectArray = array()

Contains the Objects hashed by ID.

eZXMLOutputHandler::$ObjectAttributeID
eZXMLOutputHandler::$Output = ''

Referenced by outputText().

eZXMLOutputHandler::$OutputTags = array()
eZXMLOutputHandler::$Res
eZXMLOutputHandler::$TemplatesPath = 'design:content/datatype/view/ezxmltags/'
eZXMLOutputHandler::$TemplateURI = ''
eZXMLOutputHandler::$Tpl
eZXMLOutputHandler::$XMLData

Contains the XML data as text.

Referenced by xmlData().

eZXMLOutputHandler::$XMLSchema

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