ZenMagick 0.9.10


zenmagick.store.shared.model\ZMLanguage
model\locale\ZMLanguage.php at line 33

Class ZMLanguage

ZMObject
└─ZMLanguage

public class ZMLanguage
extends ZMObject

A single language.

Author:
DerManoMann

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

__construct()

Create new instance.

string

getCode()

Get the language code.

string

getDirectory()

Get the language directory name.

int

getId()

Get the language id.

string

getImage()

Get the language image.

string

getName()

Get the language name.

void

setCode(string code)

Set the language code.

void

setDirectory(string directory)

Set the language directory name.

void

setId(int id)

Set the language id.

void

setImage(string image)

Set the language image.

void

setName(string name)

Set the language name.

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

Method Detail

model\locale\ZMLanguage.php at line 43

__construct

public void __construct()

Create new instance.


model\locale\ZMLanguage.php at line 81

getCode

public string getCode()

Get the language code.

Returns:
The language code.

model\locale\ZMLanguage.php at line 88

getDirectory

public string getDirectory()

Get the language directory name.

Returns:
The language directory name.

model\locale\ZMLanguage.php at line 60

getId

public int getId()

Get the language id.

Returns:
The language id.

model\locale\ZMLanguage.php at line 74

getImage

public string getImage()

Get the language image.

Returns:
The language image.

model\locale\ZMLanguage.php at line 67

getName

public string getName()

Get the language name.

Returns:
The language name.

model\locale\ZMLanguage.php at line 116

setCode

public void setCode(string code)

Set the language code.

Parameters:
code - The language code.

model\locale\ZMLanguage.php at line 123

setDirectory

public void setDirectory(string directory)

Set the language directory name.

Parameters:
directory - The language directory name.

model\locale\ZMLanguage.php at line 95

setId

public void setId(int id)

Set the language id.

Parameters:
id - The language id.

model\locale\ZMLanguage.php at line 109

setImage

public void setImage(string image)

Set the language image.

Parameters:
image - The language image.

model\locale\ZMLanguage.php at line 102

setName

public void setName(string name)

Set the language name.

Parameters:
name - The language name.

ZenMagick 0.9.10