eZPublish  4.5
eZSimplifiedXMLInputParser Class Reference
+ Inheritance diagram for eZSimplifiedXMLInputParser:
+ Collaboration diagram for eZSimplifiedXMLInputParser:

Public Member Functions

 appendLineParagraph ($element, $newParent)
 
 appendParagraph ($element, &$newParent)
 
 breakInlineFlow ($element, $param)
 
 convertCustomAttributes ($element)
 
 convertHrefToID ($href)
 
 eZSimplifiedXMLInputParser ($contentObjectID, $validateErrorLevel=eZXMLInputParser::ERROR_ALL, $detectErrorLevel=eZXMLInputParser::ERROR_ALL, $parseLineBreaks=false, $removeDefaultAttrs=false)
 
 getLinkedObjectIDArray ()
 
 getRelatedObjectIDArray ()
 
 getUrlIDArray ()
 
 parsingHandlerLiteral ($element, &$param)
 
 publishHandlerCustom ($element, &$params)
 
 publishHandlerEmbed ($element, &$params)
 
 publishHandlerLink ($element, &$params)
 
 publishHandlerObject ($element, &$params)
 
 publishHandlerParagraph ($element, &$params)
 
 structHandlerBr ($element, $newParent)
 
 structHandlerCustom ($element, &$params)
 
 structHandlerHeader ($element, &$param)
 
 structHandlerLists ($element, &$params)
 
 structHandlerText ($element, &$newParent)
 
 tagNameHeader ($tagName, &$attributes)
 
- Public Member Functions inherited from eZXMLInputParser
 callInputHandler ($handlerName, $tagName, &$attributes)
 
 callOutputHandler ($handlerName, $element, &$params)
 
 convertNumericEntities ($text)
 
 createAndPublishElement ($elementName, &$ret)
 
 createRootNode ()
 
 entitiesDecode ($text)
 
 eZXMLInputParser ($validateErrorLevel=self::ERROR_NONE, $detectErrorLevel=self::ERROR_NONE, $parseLineBreaks=false, $removeDefaultAttrs=false)
 
 fixSubtree ($element, $mainChild)
 
 getMessages ()
 
 handleError ($type, $message)
 
 isValid ()
 
 parseAttributes ($attributeString)
 
 parseTag (&$data, &$pos, &$parent)
 
 performPass1 (&$data)
 
 performPass2 ()
 
 process ($text, $createRootNode=true)
 
 processAttributesBySchema ($element)
 
 processBySchemaPresence ($element)
 
 processBySchemaTree ($element)
 
 processNewElements ($createdElements)
 
 processSubtree ($element, &$lastHandlerResult)
 
 removeAllAttributes (DOMElement $element)
 
 setAttributes ($element, $attributes)
 
 setDOMDocumentClass ($DOMDocumentClass)
 
 setParseLineBreaks ($value)
 
 setRemoveDefaultAttrs ($value)
 
 washText ($textContent)
 

Public Attributes

 $contentObjectID = 0
 
 $InputTags
 
 $linkedObjectIDArray = array()
 
 $OutputTags
 
 $relatedObjectIDArray = array()
 
 $urlIDArray = array()
 
- Public Attributes inherited from eZXMLInputParser
 $AllowMultipleSpaces = false
 
 $AllowNumericEntities = false
 
 $DetectErrorLevel
 
 $Document = null
 
 $DOMDocumentClass = 'DOMDocument'
 
 $eZPublishVersion
 
 $InputTags = array()
 
 $IsInputValid = true
 
 $Messages = array()
 
 $Namespaces
 
 $OutputTags = array()
 
 $ParentStack = array()
 
 $ParseLineBreaks = false
 
 $QuitProcess = false
 
 $RemoveDefaultAttrs = false
 
 $StrictHeaders = false
 
 $TrimSpaces = true
 
 $ValidateErrorLevel
 
 $XMLSchema
 
const ERROR_ALL = 28
 
const ERROR_DATA = 16
 
const ERROR_NONE = 0
 Use these constants for error types. More...
 
const ERROR_SCHEMA = 8
 
const ERROR_SYNTAX = 4
 
const SHOW_ALL_ERRORS = 2
 
const SHOW_NO_ERRORS = 0
 
const SHOW_SCHEMA_ERRORS = 1
 

Additional Inherited Members

- Protected Member Functions inherited from eZXMLInputParser
 wordMatchSupport ($newTagName, $attributes, $attributeString)
 

Member Function Documentation

eZSimplifiedXMLInputParser::appendLineParagraph (   $element,
  $newParent 
)
eZSimplifiedXMLInputParser::appendParagraph (   $element,
$newParent 
)
eZSimplifiedXMLInputParser::breakInlineFlow (   $element,
  $param 
)
eZSimplifiedXMLInputParser::convertCustomAttributes (   $element)
eZSimplifiedXMLInputParser::convertHrefToID (   $href)

Referenced by publishHandlerLink().

eZSimplifiedXMLInputParser::eZSimplifiedXMLInputParser (   $contentObjectID,
  $validateErrorLevel = eZXMLInputParser::ERROR_ALL,
  $detectErrorLevel = eZXMLInputParser::ERROR_ALL,
  $parseLineBreaks = false,
  $removeDefaultAttrs = false 
)
eZSimplifiedXMLInputParser::getLinkedObjectIDArray ( )
eZSimplifiedXMLInputParser::getRelatedObjectIDArray ( )
eZSimplifiedXMLInputParser::getUrlIDArray ( )
eZSimplifiedXMLInputParser::parsingHandlerLiteral (   $element,
$param 
)
eZSimplifiedXMLInputParser::publishHandlerCustom (   $element,
$params 
)
eZSimplifiedXMLInputParser::publishHandlerEmbed (   $element,
$params 
)
eZSimplifiedXMLInputParser::publishHandlerLink (   $element,
$params 
)
eZSimplifiedXMLInputParser::publishHandlerObject (   $element,
$params 
)
eZSimplifiedXMLInputParser::publishHandlerParagraph (   $element,
$params 
)
eZSimplifiedXMLInputParser::structHandlerBr (   $element,
  $newParent 
)
eZSimplifiedXMLInputParser::structHandlerCustom (   $element,
$params 
)
eZSimplifiedXMLInputParser::structHandlerHeader (   $element,
$param 
)
eZSimplifiedXMLInputParser::structHandlerLists (   $element,
$params 
)
eZSimplifiedXMLInputParser::structHandlerText (   $element,
$newParent 
)
eZSimplifiedXMLInputParser::tagNameHeader (   $tagName,
$attributes 
)

Member Data Documentation

eZSimplifiedXMLInputParser::$contentObjectID = 0
eZSimplifiedXMLInputParser::$InputTags
Initial value:
= array(
'b' => array( 'name' => 'strong' ),
'bold' => array( 'name' => 'strong' ),
'i' => array( 'name' => 'emphasize' ),
'em' => array( 'name' => 'emphasize' ),
'h' => array( 'name' => 'header' ),
'p' => array( 'name' => 'paragraph' ),
'para' => array( 'name' => 'paragraph' ),
'br' => array( 'name' => 'br',
'noChildren' => true ),
'a' => array( 'name' => 'link' ),
'h1' => array( 'nameHandler' => 'tagNameHeader' ),
'h2' => array( 'nameHandler' => 'tagNameHeader' ),
'h3' => array( 'nameHandler' => 'tagNameHeader' ),
'h4' => array( 'nameHandler' => 'tagNameHeader' ),
'h5' => array( 'nameHandler' => 'tagNameHeader' ),
'h6' => array( 'nameHandler' => 'tagNameHeader' ),
)
eZSimplifiedXMLInputParser::$linkedObjectIDArray = array()

Referenced by getLinkedObjectIDArray().

eZSimplifiedXMLInputParser::$OutputTags
eZSimplifiedXMLInputParser::$relatedObjectIDArray = array()

Referenced by getRelatedObjectIDArray().

eZSimplifiedXMLInputParser::$urlIDArray = array()

Referenced by getUrlIDArray().


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