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

  • Language
  • Language_Node

Class Language

Provides translation of language entries based on a driver-based storage back-end.

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

Direct known subclasses

Core\Translation\Language\Driver\xml

Abstract
Namespace: Core\Translation
Package: Core\Translation\Language
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Translation/Language.inc.php

Methods summary

protected
# __construct( Core\URI $uri )

Parameters

$uri
Configuration URI.

Since

3.1
public Core\Translation\Language_Node
# __invoke( string $path )

Invocation shortcut for Core\Translation\Language::query().

Invocation shortcut for Core\Translation\Language::query().

Parameters

$path
See Core\Translation\Language::query().

Returns

Core\Translation\Language_Node
Language repository entry identified by the provided key path.

Since

3.1
public static
# autocreate( Core\URI $uri_ )

Returns new language object specific to a named interface. \return New language object specific to the named interface. \throws Core::Exception::InvalidDriver Failed to load driver specified by the named interface.

Returns new language object specific to a named interface. \return New language object specific to the named interface. \throws Core::Exception::InvalidDriver Failed to load driver specified by the named interface.

Since

3.1
abstract public Core\Translation\Language_Node
# query( string $path )

Returns a language repository entry for a key path.

Returns a language repository entry for a key path.

Parameters

$path

Hierarchical key path to retrieve the language repository entry for. 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.

Remark

Drivers must implement this method to return a corresponding language node.


Since

3.1

Methods inherited from Core\Field

getDataForKey(), 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(), __toString(), 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 string $_v_domain

The language set domain represented by this instance.

The language set domain represented by this instance.

Since

3.1
#
protected string $_v_locale

The locale associated to the language.

The locale associated to the language.

Since

3.1
#

Properties inherited from Core\Field

$_v_data

Magic properties

public read-only string $domain

Name of assigned domain.

public read-only string $locale

Name of assigned locale.

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