eZPublishCommunityProject  2013.6
eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5 Class Reference

Converts embedded elements from internal XmlText representation to HTML5. More...

+ Inheritance diagram for eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5:
+ Collaboration diagram for eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5:

Public Member Functions

 __construct (Manager $viewManager, Repository $repository, array $excludedAttributes)
 
 convert (DOMDocument $xmlDoc)
 Converts embed elements in $xmlDoc from internal representation to HTML5. More...
 

Protected Member Functions

 processTag (DOMDocument $xmlDoc, $tagName)
 Process embed tags for a single tag type (embed or embed-inline) More...
 

Protected Attributes

 $excludedAttributes = array()
 
 $repository
 
 $viewManager
 

Detailed Description

Converts embedded elements from internal XmlText representation to HTML5.

Constructor & Destructor Documentation

eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5::__construct ( Manager  $viewManager,
Repository  $repository,
array  $excludedAttributes 
)

Member Function Documentation

eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5::convert ( DOMDocument  $xmlDoc)

Converts embed elements in $xmlDoc from internal representation to HTML5.

Parameters
\DOMDocument$xmlDoc
Returns
null

Implements eZ\Publish\Core\FieldType\XmlText\Converter.

eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5::processTag ( DOMDocument  $xmlDoc,
  $tagName 
)
protected

Process embed tags for a single tag type (embed or embed-inline)

Parameters
\DOMDocument$xmlDoc
$tagNamestring name of the tag to extract

Referenced by eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5\convert().

Member Data Documentation

eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5::$excludedAttributes = array()
protected
eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5::$repository
protected
eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5::$viewManager
protected

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