translateAdaptorXmlTm

Handles translated data in XMLTM format

Taken from Zend Framework, Zend_Translate package with only minor changes.


Methods

public __construct($inData, [$inLocale = null], [$inOptions = array()], [$inCache = null])

Generates the xmltm adapter This adapter reads with php's xml_parser

protected _loadTranslationData($filename, $locale, [$options = array()])

Load translation data (XMLTM file reader)

private _startElement($file, $name, $attrib)

Handles the opening start tag in the XML parse

private _endElement($file, $name)

Handles the closing tag in the XML parse

private _contentElement($file, $data)

Handles content

private _findEncoding($filename)

Attempts to locate the file content encoding

public getAdaptorName()

Returns the adaptor name


Inherited Methods

<  1  >