Class TranscodingActionReplaceEntities

Description

Transcoding action that translates HTML entities such as " " by their code equivalent (i.e. " ") when the requesting device supports application/xhtml+xml.

This action is needed because some browsers do not support XHTML entities in pure XHTML mode when the doctype is not well-known.

Located in /common/transcoding/transcodingactionreplaceentities.php (line 35)

TranscodingAction
   |
   --TranscodingActionReplaceEntities
Method Summary
string apply (string $content, Evidence $evidence)
Variables
Methods
apply (line 316)

Translates HTML entities when the device supports the application/xhtml+xml media type.

  • return: The transcoded content.
  • exception: SystemException The evidence is not valid.
  • access: public
string apply (string $content, Evidence $evidence)
  • string $content: The HTML content to transcode.
  • Evidence $evidence: The evidence that identifies the requesting device.

Redefinition of:
TranscodingAction::apply()
Applies the transcoding action to the given content, using the capabilities of the device identified by the given evidence.

Inherited Methods

Inherited From TranscodingAction

TranscodingAction::__construct()
TranscodingAction::apply()
TranscodingAction::getNextBlock()
TranscodingAction::getOption()
TranscodingAction::getPropertyValue()
TranscodingAction::getPropertyValuePr()
TranscodingAction::getRelativeUri()
TranscodingAction::initOption()
TranscodingAction::initProperty()
TranscodingAction::initPropertyValues()
TranscodingAction::mapAbsoluteUriToFile()
TranscodingAction::mapFileToAbsoluteUri()
TranscodingAction::mapFileToUri()
TranscodingAction::mapUriToFile()
TranscodingAction::resolveUri()
TranscodingAction::setOption()
TranscodingAction::unparse_url()

Documentation generated on Tue, 17 Nov 2009 19:00:40 +0100 by phpDocumentor 1.4.2