Class xml
XML-based language repository.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Set\Mutable implements Core\Mutator
- Core\Field implements Core\Inquiry
- Core\Translation\Language
- Core\Translation\Language\Driver\xml
Package: Core\Translation\Language
Since: 3.1
Requires: PHP 5.3, SimpleXML
Version: 1.0
Located at Translation/Language/Driver/xml.inc.php
Methods summary
protected
|
|
public
|
#
getDataForKey( string $key )
KDC access variant for |
public
|
Methods inherited from Core\Translation\Language
Methods inherited from Core\Field
getDataForKeys()
,
getDataForUndefinedKey()
,
issetDataForKey()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Core\Set\Mutable
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
string |
PathParameter
Base path of language repository. For each domain a separate file is expected with the name of the domain (default domain is "default"), grouped in subdirectories for each locale. |
#
'path'
|
string |
XMLNS
XML namespace for language repostory files. |
#
'http://xmlns.xplo-re.net/core/translation/language/1.0'
|
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
array
|
$_v_parameters
Associative array of configuration parameters. |
|
protected
|
$_v_rootNode
Repository root node. |
Properties inherited from Core\Translation\Language
Properties inherited from Core\Field
Magic properties
public read-only
array
|
$parameters
Associative array of configuration parameters. |
public read-only
|
$rootNode
Repository root node. |