InfoCard/Xml/Security/Transform.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-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

Package: Zend\InfoCard\Zend\InfoCard\Xml\Security
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

>VPropertyprotectedarray $_transformList = array()
A list of transforms to apply
Default valuearray()Details
Type
array

Methods

methodprotected_findClassbyURI(string $uri) : string

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

Parameters
NameTypeDescription
$uristring

The transform URI

Returns
TypeDescription
stringThe transform implementation class name
Throws
ExceptionDescription
\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
NameTypeDescription
$uristring

The Transform URI

Returns
TypeDescription
\Zend_InfoCard_Xml_Security_Transform
methodpublicapplyTransforms(string $strXmlDocument) : string

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

Parameters
NameTypeDescription
$strXmlDocumentstring

The input XML

Returns
TypeDescription
stringThe XML after the transformations have been applied
methodpublicgetTransformList() : array

Return the list of transforms to perform

Returns
TypeDescription
arrayThe list of transforms
Documentation was generated by phpDocumentor 2.0.0a12.