Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
xslTransform Class Reference

Public Member Functions

 __construct ($xml, $template, $output, $config)
 transform ()

Data Fields

const FORMAT_PDF = "pdf"
const FORMAT_TEXT = "txt"

Protected Member Functions

 checkFormat ()
 outputPDF ()
 outputTEXT ()

Constructor & Destructor Documentation

__construct ( xml,
template,
output,
config 
)

Constructs the object

Parameters:
string  |  DOMDocument$xmlThe news XML
string$templateThe template file name
string$outputThe output format
array$configThe configuration array public
Returns:
void

Member Function Documentation

checkFormat ( ) [protected]

Checks the output format protected

Returns:
boolean
outputPDF ( ) [protected]

Gets the format in PDF format protected

Returns:
string
outputTEXT ( ) [protected]

Gets the output in text format (tabs separated) protected

Returns:
string
transform ( )

Transforms a news XML into desired output (pdf, xhtml, text etc.) public

Returns:
string

Field Documentation

const FORMAT_PDF = "pdf"
const FORMAT_TEXT = "txt"

The documentation for this class was generated from the following file: