InfoCard/Xml/Security/Transform.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_InfoCard
- Subpackage
- Zend_InfoCard_Xml_Security
- Version
- $Id: Transform.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_InfoCard_Xml_Security_Transform
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
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


_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 |