ZenMagick 0.9.8


org.zenmagick.store.model.ZMIdNamePair
\store\model\ZMIdNamePair.php at line 34

Class ZMIdNamePair

ZMObject
└─ZMIdNamePair

public class ZMIdNamePair
extends ZMObject

Simple id/name container.

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

Field Summary
mixed

$id_

mixed

$name_

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

ZMIdNamePair(int id, string name)

Create new id - name pair.

Method Summary
string

getId()

Get the id.

string

getName()

Get the name.

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

Field Detail

\store\model\ZMIdNamePair.php at line 35

id_

public mixed $id_

\store\model\ZMIdNamePair.php at line 36

name_

public mixed $name_

Constructor Detail

\store\model\ZMIdNamePair.php at line 45

ZMIdNamePair

public ZMIdNamePair(int id, string name)

Create new id - name pair.

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

Method Detail

\store\model\ZMIdNamePair.php at line 64

getId

public string getId()

Get the id.

Returns:
The id.

\store\model\ZMIdNamePair.php at line 71

getName

public string getName()

Get the name.

Returns:
The name.

ZenMagick 0.9.8