API Documentation

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_InfoCard  
subpackage
Zend_InfoCard_Xml_Security  
version
$Id: Transform.php 23775 2011-03-01 17:25:24Z ralph $  

\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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_InfoCard  
subpackage
Zend_InfoCard_Xml_Security  

Properties

Propertyprotectedarray  $_transformList= 'array'

A list of transforms to apply

Default valuearrayDetails
Type
array

Methods

methodprotected_findClassbyURI( string $uri ) : string

Returns the name of the transform class based on a given URI

Parameters
Name Type Description
$uri string The transform URI
Returns
Type Description
string The transform implementation class name
Throws
Exception Description
\Zend_InfoCard_Xml_Security_Exception
methodpublicaddTransform( string $uri ) : \Zend_InfoCard_Xml_Security_Transform

Add a Transform URI to the list of transforms to perform

Parameters
Name Type Description
$uri string The Transform URI
Returns
Type Description
\Zend_InfoCard_Xml_Security_Transform
methodpublicapplyTransforms( string $strXmlDocument ) : string

Apply the transforms in the transform list to the input XML document

Parameters
Name Type Description
$strXmlDocument string The input XML
Returns
Type Description
string The XML after the transformations have been applied
methodpublicgetTransformList( ) : array

Return the list of transforms to perform

Returns
Type Description
array The list of transforms
Documentation was generated by DocBlox 0.13.3.