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

Class: XML_XSLT_Backend_DOM_XSL

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

Class Overview

PEAR
   |
   --XML_XSLT_Common
      |
      --XML_XSLT_Backend_DOM_XSL

XML_XSLT_Backend_DOM_XSL


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_DOM_XSL


[ Top ]


Method Detail

XML_XSLT_Backend_DOM_XSL (Constructor)   [line 60]

mixed XML_XSLT_Backend_DOM_XSL( )

Set the parameters for the active XSL sheet
  • Return: return
  • Access: public

[ Top ]

batchXML   [line 284]

mixed batchXML( [array $options = null])

Transform 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 345]

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   —  Options

[ Top ]

free   [line 396]

mixed free( )

Set the parameters for the active XSL sheet
  • Return: return
  • Access: public

[ Top ]

process   [line 162]

mixed process( )

Process the transformation
  • Return: return
  • See: backend
  • Access: public

[ Top ]

ResultDumpFile   [line 256]

mixed ResultDumpFile( [string $output_file = ''], [boolean $free = true])

Dumps the result to a file
  • Return: return
  • See: backend
  • Access: public

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

Parameters:

string   $output_file   —  filename to output to
boolean   $free   —  Free the ressources after transformation

[ Top ]

ResultDumpMem   [line 229]

mixed ResultDumpMem( [boolean $free = true])

Dumps the result to memory
  • Return: return
  • See: backend
  • Access: public

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

Parameters:

boolean   $free   —  Free the ressources after transformation

[ Top ]

ResultDumpOut   [line 203]

mixed ResultDumpOut( [boolean $free = true])

Dump the result to standard output.
  • Return: return
  • See: backend
  • Access: public

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

Parameters:

boolean   $free   —  Free the ressources after transformation

[ Top ]

_buildParams   [line 79]

mixed _buildParams( )

Set the parameters for the active XSL sheet
  • Return: return
  • See: backend
  • Access: public

[ Top ]

_initXML   [line 129]

mixed _initXML( )

Set the parameters for the active XSL sheet
  • Return: return
  • See: backend
  • Access: public

[ Top ]

_initXSL   [line 96]

mixed _initXSL( )

Set the parameters for XSLT
  • Return: return
  • See: backend
  • Access: public

[ Top ]


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