eZ Publish  [trunk]
eZXMLOutputHandler Class Reference

The class eZXMLOutputHandler does. More...

+ Inheritance diagram for eZXMLOutputHandler:

List of all members.

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.
 $NestingLevel = 0
 $NodeArray = array()
 Contains the Nodes hashed by ID.
 $ObjectArray = array()
 Contains the Objects hashed by ID.
 $ObjectAttributeID
 $Output = ''
 $OutputTags = array()
 $Res
 $TemplatesPath = 'design:content/datatype/view/ezxmltags/'
 $TemplateURI = ''
 $Tpl
 $XMLData
 Contains the XML data as text.
 $XMLSchema

Detailed Description

The class eZXMLOutputHandler does.

Definition at line 19 of file ezxmloutputhandler.php.


Member Function Documentation

Returns:
the value of the attribute $name if it exists, if not returns null.

Definition at line 71 of file ezxmloutputhandler.php.

Returns:
an array with attribute names.

Definition at line 52 of file ezxmloutputhandler.php.

Referenced by hasAttribute().

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

Definition at line 595 of file ezxmloutputhandler.php.

Referenced by outputTag().

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

Definition at line 610 of file ezxmloutputhandler.php.

Referenced by outputTag().

eZXMLOutputHandler::eZXMLOutputHandler ( xmlData,
aliasedType,
contentObjectAttribute = null 
)

Constructor

Definition at line 24 of file ezxmloutputhandler.php.

Referenced by eZPlainXMLOutput\eZPlainXMLOutput(), and eZXHTMLXMLOutput\eZXHTMLXMLOutput().

eZXMLOutputHandler::getAttributeValueArray ( tagName,
attributeName 
)

Definition at line 276 of file ezxmloutputhandler.php.

Referenced by prefetch().

Returns:
true if the attribute $name exists.

Definition at line 63 of file ezxmloutputhandler.php.

Returns:
true if the output handler is considered valid, if not the handler will not be used.
Note:
Default returns true

Definition at line 126 of file ezxmloutputhandler.php.

eZXMLOutputHandler::outputTag ( element,
&$  siblingParams,
parentParams = array() 
)

Definition at line 300 of file ezxmloutputhandler.php.

Referenced by outputText().

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

Reimplemented in eZPlainXMLOutput.

Definition at line 153 of file ezxmloutputhandler.php.

Referenced by attribute().

Definition at line 203 of file ezxmloutputhandler.php.

Referenced by outputText().

eZXMLOutputHandler::renderAll ( element,
childrenOutput,
vars 
)

Definition at line 584 of file ezxmloutputhandler.php.

Referenced by eZXHTMLXMLOutput\renderCustom().

Returns:
the template name for this input handler, includes the edit suffix if any.

Definition at line 109 of file ezxmloutputhandler.php.

Referenced by attribute().

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

Definition at line 135 of file ezxmloutputhandler.php.

Referenced by viewTemplateName().

Returns:
the xml data as text.

Definition at line 144 of file ezxmloutputhandler.php.

Referenced by eZPlainXMLOutput\outputText().


Member Data Documentation

eZXMLOutputHandler::$AliasedHandler

Definition at line 649 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$AliasedType

Definition at line 648 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$AllowMultipleSpaces = false

Definition at line 656 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$AllowNumericEntities = false

Definition at line 657 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$ContentObjectAttribute

Definition at line 659 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$Document

Definition at line 644 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$LinkArray = array()

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

Definition at line 663 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$NestingLevel = 0

Definition at line 669 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$NodeArray = array()

Contains the Nodes hashed by ID.

Definition at line 667 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$ObjectArray = array()

Contains the Objects hashed by ID.

Definition at line 665 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$ObjectAttributeID

Definition at line 660 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$Output = ''

Definition at line 651 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$OutputTags = array()

Reimplemented in eZXHTMLXMLOutput.

Definition at line 637 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$Res

Definition at line 654 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$TemplatesPath = 'design:content/datatype/view/ezxmltags/'

Reimplemented in eZPDFXMLOutput.

Definition at line 640 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$TemplateURI = ''

Definition at line 653 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$Tpl

Definition at line 652 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$XMLData

Contains the XML data as text.

Definition at line 643 of file ezxmloutputhandler.php.

eZXMLOutputHandler::$XMLSchema

Definition at line 646 of file ezxmloutputhandler.php.


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