Translate/Adapter/XmlTm.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Translate  
Version
$Id$  

\Zend_Translate_Adapter_XmlTm

Package: Zend_Translate\Zend_Translate_Adapter
Basic adapter class for each translation source adapter
Parent(s)
\Zend_Translate_Adapter
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivate$_cleared = array()
Default valuearray()Details
Type
n/a
>VPropertyprivate$_content = null
Default valuenullDetails
Type
n/a
>VPropertyprivate$_data = array()
Default valuearray()Details
Type
n/a
>VPropertyprivate$_file = false
Default valuefalseDetails
Type
n/a
>VPropertyprivate$_lang = null
Default valuenullDetails
Type
n/a
>VPropertyprivate$_tag = null
Default valuenullDetails
Type
n/a

Methods

methodprivate_contentElement( $file,  $data) : void

Parameters
NameTypeDescription
$file
$data
methodprivate_endElement( $file,  $name) : void

Parameters
NameTypeDescription
$file
$name
methodprivate_findEncoding( $filename) : void

Parameters
NameTypeDescription
$filename
methodprotected_loadTranslationData(string $filename, string $locale,  $options = array()) : array

Load translation data (XMLTM file reader)

Parameters
NameTypeDescription
$filenamestring

XMLTM file to add, full path must be given for access

$localestring

Locale/Language to add data for, identical with locale identifier,

                       see Zend_Locale for more information
$options
Returns
TypeDescription
array
Throws
ExceptionDescription
\Zend_Translation_Exception
methodprivate_startElement( $file,  $name,  $attrib) : void

Parameters
NameTypeDescription
$file
$name
$attrib
methodpublictoString() : string

Returns the adapter name

Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .