ZenMagick 0.9.8


org.zenmagick.store.model.ZMLanguage
\store\model\locale\ZMLanguage.php at line 34

Class ZMLanguage

ZMObject
└─ZMLanguage

public class ZMLanguage
extends ZMObject

A single language.

Author:
DerManoMann
Version:
$Id: ZMLanguage.php 2694 2009-12-03 22:32:18Z dermanomann $

Fields inherited from org.zenmagick.core.ZMObject
properties_
Constructor Summary

ZMLanguage()

Create new instance.

Method Summary
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
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

\store\model\locale\ZMLanguage.php at line 44

ZMLanguage

public ZMLanguage()

Create new instance.


Method Detail

\store\model\locale\ZMLanguage.php at line 82

getCode

public string getCode()

Get the language code.

Returns:
The language code.

\store\model\locale\ZMLanguage.php at line 89

getDirectory

public string getDirectory()

Get the language directory name.

Returns:
The language directory name.

\store\model\locale\ZMLanguage.php at line 61

getId

public int getId()

Get the language id.

Returns:
The language id.

\store\model\locale\ZMLanguage.php at line 75

getImage

public string getImage()

Get the language image.

Returns:
The language image.

\store\model\locale\ZMLanguage.php at line 68

getName

public string getName()

Get the language name.

Returns:
The language name.

\store\model\locale\ZMLanguage.php at line 117

setCode

public void setCode(string code)

Set the language code.

Parameters:
code - The language code.

\store\model\locale\ZMLanguage.php at line 124

setDirectory

public void setDirectory(string directory)

Set the language directory name.

Parameters:
directory - The language directory name.

\store\model\locale\ZMLanguage.php at line 96

setId

public void setId(int id)

Set the language id.

Parameters:
id - The language id.

\store\model\locale\ZMLanguage.php at line 110

setImage

public void setImage(string image)

Set the language image.

Parameters:
image - The language image.

\store\model\locale\ZMLanguage.php at line 103

setName

public void setName(string name)

Set the language name.

Parameters:
name - The language name.

ZenMagick 0.9.8