Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

_contentElement(
resource $file, string $data
)
:
void
Internal method, called by xml element handler for content
Name | Type | Description |
---|---|---|
$file | resource | File handler |
$data | string | Elements content |

_endElement(
resource $file, string $name
)
:
void
Internal method, called by xml element handler at end
Name | Type | Description |
---|---|---|
$file | resource | File handler |
$name | string | Elements name |

_findEncoding(
$filename
)
:
string
Internal method, detects the encoding of the xml file
Name | Type | Description |
---|---|---|
$filename |
Type | Description |
---|---|
string | Encoding |

_loadTranslationData(
string $filename, string $locale, $options
=
array()
)
:
array
Load translation data (TMX file reader)
Name | Type | Description |
---|---|---|
$filename | string | TMX file to add, full path must be given for access |
$locale | string | Locale has no effect for TMX because TMX defines all languages within the source file |
$options |
Type | Description |
---|---|
array |
Exception | Description |
---|---|
\Zend_Translation_Exception |

_startElement(
resource $file, string $name, array $attrib
)
:
void
Internal method, called by xml element handler at start
Name | Type | Description |
---|---|---|
$file | resource | File handler |
$name | string | Elements name |
$attrib | array | Attributes for this element |