Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
A class to create a transform rule set based on XML URIs and then apply those rules in the correct order to a given XML input

_findClassbyURI(
string $uri
)
:
string
Returns the name of the transform class based on a given URI
Name | Type | Description |
---|---|---|
$uri | string | The transform URI |
Type | Description |
---|---|
string | The transform implementation class name |
Exception | Description |
---|---|
\Zend_InfoCard_Xml_Security_Exception |

addTransform(
string $uri
)
:
\Zend_InfoCard_Xml_Security_Transform
Add a Transform URI to the list of transforms to perform
Name | Type | Description |
---|---|---|
$uri | string | The Transform URI |
Type | Description |
---|---|
\Zend_InfoCard_Xml_Security_Transform |

applyTransforms(
string $strXmlDocument
)
:
string
Apply the transforms in the transform list to the input XML document
Name | Type | Description |
---|---|---|
$strXmlDocument | string | The input XML |
Type | Description |
---|---|
string | The XML after the transformations have been applied |