Interface Inx_Api_Transformation_Transformation

Description

This class defines a transformation.

This class defines a transformation. Transformations are XSLT resources and used to convert datasource contents in another format or presentation. You can update only the XSLT content of the transformation. Its name is not changable.

The following snippet shows how to create a transformation:

 $oTransformationManager = $oSession->getTransformationManager();
 $oTransformation = $oTransformationManager->createTransformation( "Name Of Transformation" );

 $sXslt = "<pseudo xslt><transform><something>text text</something></transform></pseudo xslt>";

 $oTransformation->updateXSLT( $sXslt );
 $oTransformation->commitUpdate();

For an example on how to retrieve existing transformations, see the In_Api_Transformation_TransformationManager documentation.

  • author: sveh, 16.06.2015
  • version: $Revision: 9482 $ $Date: 2007-12-18 16:42:11 +0200 (An, 18 Grd 2007) $ $Author: vladas $
  • see: In_Api_Transformation_TransformationManager
  • since: API 1.13.1

Located in /Api/Transformation/Transformation.php (line 33)

Inx_Api_BusinessObject
   |
   --Inx_Api_Transformation_Transformation
Class Constant Summary
Method Summary
DateTime getCreationDatetime ()
string getName ()
string getXslt ()
the updateXslt (string $sXslt)
Methods
getCreationDatetime (line 65)

Returns the date of creation for the transformation resource

Returns the date of creation for the transformation resource

  • return: the date of creation of the transformation resource
  • access: public
DateTime getCreationDatetime ()
getModificationDatetime (line 73)

Returns the date of last modification for the transformation resource

Returns the date of last modification for the transformation resource

  • return: the date of last modification of the transformation resource
  • access: public
DateTime getModificationDatetime ()
getName (line 49)

Returns the name of the transformation resource

Returns the name of the transformation resource

  • return: The name of the transformation resource
  • access: public
string getName ()
getXslt (line 57)

Returns the XSLT of the transformation resource

Returns the XSLT of the transformation resource

  • return: The XSLT of the transformation resource
  • access: public
string getXslt ()
updateXslt (line 82)

Set the XSLT for this Inx_Api_Transformation_Transformation resource

Set the XSLT for this Inx_Api_Transformation_Transformation resource

the updateXslt (string $sXslt)

Inherited Methods

Inherited From Inx_Api_BusinessObject

Inx_Api_BusinessObject::commitUpdate()
Inx_Api_BusinessObject::getId()
Inx_Api_BusinessObject::reload()
Class Constants
ATTRIBUTE_XSLT = 0 (line 41)

Constant for the xslt attribute.

Constant for the xslt attribute. Used by the

to indicate the error source.

Documentation generated on Thu, 17 Sep 2015 14:27:32 +0200 by phpDocumentor 1.3.2