ZenMagick 0.9.10


org.zenmagick.core.services.locale\ZMAbstractLocale
core\services\locale\ZMAbstractLocale.php at line 30

Class ZMAbstractLocale

ZMObject
└─ZMAbstractLocale

public abstract class ZMAbstractLocale
extends ZMObject

Abstract base class for Locale implementations.

Author:
DerManoMann

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct()

Create new instance.

void

getCode()

{@inheritDoc}

void

getFormat(mixed group, mixed type)

Since the underlying locale.yaml file has no fixed format it is possible to add your own formats and types by just following the existing structures.

void

getName()

{@inheritDoc}

void

init(mixed locale)

{@inheritDoc}

Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

core\services\locale\ZMAbstractLocale.php at line 39

__construct

public void __construct()

Create new instance.


core\services\locale\ZMAbstractLocale.php at line 56

getCode

public void getCode()


core\services\locale\ZMAbstractLocale.php at line 105

getFormat

public void getFormat(mixed group, mixed type)

Since the underlying locale.yaml file has no fixed format it is possible to add your own formats and types by just following the existing structures.


core\services\locale\ZMAbstractLocale.php at line 63

getName

public void getName()


core\services\locale\ZMAbstractLocale.php at line 70

init

public void init(mixed locale)


ZenMagick 0.9.10