xplo.re Medusa Core Framework 3.2
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
      • Driver
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Fault
      • Formatter
        • Driver
      • Incident
        • Exception
      • Reporter
        • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • Type
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • xml
  • xml_Node

Class xml_Node

XML-based language repository entry.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Set\Mutable implements Core\Mutator
Extended by Core\Field implements Core\Inquiry
Extended by Core\Translation\Language_Node
Extended by Core\Translation\Language\Driver\xml_Node
Namespace: Core\Translation\Language\Driver
Package: Core\Translation\Language
Since: 3.1
Required: PHP 5.3
Version: 1.0
Located at Translation/Language/Driver/xml.inc.php

Methods summary

public
# __construct( Core\Translation\Language_Node $parentNode = null, string $path = null, SimpleXMLElement $node = null )

Parameters

$parentNode

$node XML node for key path. null if node path does not exist.

$path
Language repository key path relative to the parent node.
$node

Since

3.1

Overrides

Core\Translation\Language_Node::__construct
public boolean
# exists( )

Indicates whether the language node represents an existing value.

Indicates whether the language node represents an existing value.

Returns

boolean

true, if the language entry represented by this node exists and was successfully retrieved, otherwise false.

Since

3.1
public mixed
# getDataForKey( string $key )

Retrieves a KDC data storage field for a specified key. Values are retrieved from sources in the following order:

Retrieves a KDC data storage field for a specified key. Values are retrieved from sources in the following order:

Parameters

$key
Name of KDC field to return value for.

Returns

mixed
Retrieved data field value.

Throws

Core\Exception\UndefinedKey
Requested data field does not exist.

Since

3.1

Overrides

Core\Field::getDataForKey
public Core\Translation\Language_Node
# query( string $path )

Returns a language repository entry relative to the node.

Returns a language repository entry relative to the node.

Parameters

$path

Hierarchical key path to retrieve the language repository entry for, relative to the current node. Each segment is delimited by a dot character. A key path must not necessarily end in a leaf but might as well be used to get a language entry node that is used for subsequent queries with relative paths.

Returns

Core\Translation\Language_Node

Language repository entry identified by the provided key path relative to the current node.

Since

3.1
public
# value( )

Node value text or placeholder, if key path of node is not covered by the language repository.

Node value text or placeholder, if key path of node is not covered by the language repository.

Since

3.1

Overrides

Core\Translation\Language_Node::value

Methods inherited from Core\Translation\Language_Node

__invoke(), __toString(), format(), vformat()

Methods inherited from Core\Field

getDataForKeys(), getDataForUndefinedKey(), issetDataForKey(), offsetExists(), offsetGet(), offsetSet(), offsetUnset()

Methods inherited from Core\Set\Mutable

__set(), __unset()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), attachMethod(), chain(), getValueForKey(), getValueForKeyPath(), getValueForUndefinedKey(), hash(), issetValueForKey(), setValueForKey(), setValueForKeyPath(), setValueForUndefinedKey(), uuid()

Constants summary

Constants inherited from Core\Object

AnyParameterType, AutochainParameterType, AutocreateParameterType, BooleanParameterType, CharParameterType, EnumParameterType, IntegerParameterType, RealParameterType, StringParameterType, UserParameterType

Properties summary

protected SimpleXMLElement $_v_node

XML node for repository entry. null if node path does not exist.

XML node for repository entry. null if node path does not exist.

Since

3.1
#

Properties inherited from Core\Translation\Language_Node

$_v_path

Properties inherited from Core\Field

$_v_data

Magic properties

public read-only SimpleXMLElement $node

XML node for repository entry.

Magic properties inherited from Core\Translation\Language_Node

$exists, $path, $value

Magic properties inherited from Core\Field

$data

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.2 API documentation generated by ApiGen