Class TranscodingActionDeleteEmbeds

Description

Transcoding action that removes embedded elements within the content that are not allowed in XHTML Basic 1.1 when the requesting device is identified as mobile: applet, embed and iframe are removed.

Removed elements are replaced by their alternative content when possible.

The transcoding action leaves regular object elements untouched.

Located in /common/transcoding/transcodingactiondeleteembeds.php (line 37)

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

Removes embedded elements that are not supported by most mobile devices when the requesting device is identified as mobile.

  • 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