XML_XSLT_Wrapper
[ class tree: XML_XSLT_Wrapper ] [ index: XML_XSLT_Wrapper ] [ all elements ]

Class: XML_XSLT_Backend_XT

Source Location: /XML_XSLT_Wrapper-0.2.2/Backend/XT.php

Class Overview

PEAR
   |
   --XML_XSLT_Common
      |
      --XML_XSLT_Backend_XT

XML_XSLT_Backend_XT


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: XML_XSLT_Common

XML_XSLT_Common::XML_XSLT_Common()
Class constructor
XML_XSLT_Common::batchXML()
Transform one single XML data with multiple XSL files.
XML_XSLT_Common::batchXSL()
Transform multiple XML data with a single XSL files
XML_XSLT_Common::raiseError()
This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
XML_XSLT_Common::ResultDumpFile()
Output to a file.
XML_XSLT_Common::ResultDumpMem()
Return the output.
XML_XSLT_Common::ResultDumpOut()
Output to the default output.
XML_XSLT_Common::setOption()
Defines one option for the active backend
XML_XSLT_Common::setOptions()
Defines the options for the active backend
XML_XSLT_Common::setOuputMode()
Sets the desired output mode.
XML_XSLT_Common::setOutputEconding()
Set the output encoding (does not work with all backend)
XML_XSLT_Common::setParam()
Set one parameter for XSLT
XML_XSLT_Common::setParams()
Set a group of parameters for XSLT
XML_XSLT_Common::setXML()
Set the XML data to transform.
XML_XSLT_Common::setXSL()
Load the XSL sheet from a defined source
XML_XSLT_Common::_getFileContent()
Gets data from a file
XML_XSLT_Common::_XML_XSLT_Common()
Destructor

Class Details

[line 34]
XML_XSLT_Backend_XT


[ Top ]


Method Detail

Backend_XT   [line 78]

mixed Backend_XT( )

Constructor
  • Return: return
  • See: backend
  • Access: public

[ Top ]

batchXML   [line 341]

mixed batchXML( [array $options = null])

Transform one single XML data with multiple XSL files
  • Return: return
  • Access: public

Overrides XML_XSLT_Common::batchXML() (Transform one single XML data with multiple XSL files.)

Parameters:

array   $options   —  Options

[ Top ]

batchXSL   [line 437]

mixed batchXSL( [array $options = null])

Transform multiple XML data with a single XSL files
  • Return: return
  • Access: public

Overrides XML_XSLT_Common::batchXSL() (Transform multiple XML data with a single XSL files)

Parameters:

array   $options   —  associative array of the following form $options['outputfolder'] = './outputbatch2/'; $options['xml'] = $xml; $options['xslt_files'] = array( array( 'filepath'=>'examples/table.xsl', 'outputfile'=>'t1' ), array( 'filepath'=>'examples/table2.xsl', 'outputfile'=>'t2' ) );

[ Top ]

free   [line 529]

mixed free( )

Free all ressources
  • Return: return
  • Access: public

[ Top ]

initXML   [line 166]

mixed initXML( )

Set the XML DATA
  • Return: return
  • See: backend
  • Access: public

[ Top ]

initXSL   [line 132]

mixed initXSL( )

Set the XSLT data
  • Return: return
  • See: backend
  • Access: public

[ Top ]

process   [line 203]

mixed process( )

Do nothing with this backend, all process and ouputs are done in ResultDumpXXXX methods
  • Return: return
  • See: backend
  • Access: public

[ Top ]

ResultDumpFile   [line 277]

mixed ResultDumpFile( [boolean $free = true])

Dump the result of the transformation to a file
  • Return: return
  • Access: public

Overrides XML_XSLT_Common::ResultDumpFile() (Output to a file.)

Parameters:

boolean   $free   —  Free the ressources after the transformation

[ Top ]

ResultDumpMem   [line 232]

mixed ResultDumpMem( [boolean $free = true])

Return the result of the transformation
  • Return: return
  • Access: public

Overrides XML_XSLT_Common::ResultDumpMem() (Return the output.)

Parameters:

boolean   $free   —  Free the ressources after the transformation

[ Top ]

ResultDumpOut   [line 317]

mixed ResultDumpOut( [boolean $free = true])

Dumps the result of the transformation to stdout
  • Return: return
  • Access: public

Overrides XML_XSLT_Common::ResultDumpOut() (Output to the default output.)

Parameters:

boolean   $free   —  Free the ressources or not after the transformation

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:28:09 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.