eZPublish  3.8
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=EZ_XMLINPUTPARSER_ERROR_ALL, $detectErrorLevel=EZ_XMLINPUTPARSER_ERROR_ALL, $parseLineBreaks=false, $removeDefaultAttrs=false)
 
 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)
 
- Public Member Functions inherited from eZXMLInputParser
callInputHandler ($handlerName, $tagName, &$attributes)
 
callOutputHandler ($handlerName, &$element, &$params)
 
 convertNumericEntities ($text)
 
createAndPublishElement ($elementName, &$ret)
 
 createRootNode ()
 
 entitiesDecode ($text)
 
 eZXMLInputParser ($validateErrorLevel=EZ_XMLINPUTPARSER_ERROR_NONE, $detectErrorLevel=EZ_XMLINPUTPARSER_ERROR_NONE, $parseLineBreaks=false, $removeDefaultAttrs=false)
 
 fixSubtree (&$element, &$mainChild)
 
 getMessages ()
 
 handleError ($type, $message, $params=false)
 
 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)
 
 setAttributes (&$element, $attributes)
 
 setDOMDocumentClass ($DOMDocumentClass)
 
 setParseLineBreaks ($value)
 
 setRemoveDefaultAttrs ($value)
 
 washText ($textContent)
 
 wordMatchSupport ($newTagName, &$attributes, $attributeString)
 

Public Attributes

 $contentObjectID = 0
 
 $InputTags
 
 $OutputTags
 
 $relatedObjectIDArray = array()
 
 $urlIDArray = array()
 
- Public Attributes inherited from eZXMLInputParser
 $AllowMultipleSpaces = false
 
 $AllowNumericEntities = false
 
 $createdElements = array()
 
 $DetectErrorLevel
 
 $Document = null
 
 $DOMDocumentClass = 'eZDOMDocument'
 
 $eZPublishVersion
 
 $InputTags = array()
 
 $IsInputValid = true
 
 $Messages = array()
 
 $Namespaces
 
 $OutputTags = array()
 
 $ParentStack = array()
 
 $parseLineBreaks = false
 
 $QuitProcess = false
 
 $removeDefaultAttrs = false
 
 $StrictHeaders = false
 
 $TrimSpaces = true
 
 $ValidateErrorLevel
 
 $XMLSchema
 

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 = EZ_XMLINPUTPARSER_ERROR_ALL,
  $detectErrorLevel = EZ_XMLINPUTPARSER_ERROR_ALL,
  $parseLineBreaks = false,
  $removeDefaultAttrs = false 
)
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 
)

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' ),
)
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: