ZenMagick 0.9.10


zenmagick.store.shared.model\ZMIdNamePair
model\ZMIdNamePair.php at line 30

Class ZMIdNamePair

ZMObject
└─ZMIdNamePair

public class ZMIdNamePair
extends ZMObject

Simple id/name container.

Author:
DerManoMann

Field Summary
mixed

$id_

mixed

$name_

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

__construct(int id, string name)

Create new id - name pair.

string

getId()

Get the id.

string

getName()

Get the name.

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

Field Detail

model\ZMIdNamePair.php at line 31

id_

public mixed $id_

model\ZMIdNamePair.php at line 32

name_

public mixed $name_

Method Detail

model\ZMIdNamePair.php at line 41

__construct

public void __construct(int id, string name)

Create new id - name pair.

Parameters:
id - The id.
name - The name.

model\ZMIdNamePair.php at line 60

getId

public string getId()

Get the id.

Returns:
The id.

model\ZMIdNamePair.php at line 67

getName

public string getName()

Get the name.

Returns:
The name.

ZenMagick 0.9.10