ZenMagick 0.9.10


org.zenmagick.mvc.resultlist.options\ZMFilterOption
mvc\resultlist\options\ZMFilterOption.php at line 30

Class ZMFilterOption

ZMObject
└─ZMFilterOption

public class ZMFilterOption
extends ZMObject

A single filter option.

Author:
DerManoMann

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

__construct(string name, int id, boolean active)

Create a new filter option.

int

getId()

Get the option id.

string

getName()

Get the option name.

boolean

isActive()

Check if this option is active.

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

Method Detail

mvc\resultlist\options\ZMFilterOption.php at line 43

__construct

public void __construct(string name, int id, boolean active)

Create a new filter option.

Parameters:
name - The option name.
id - The option id.
active - Optional active flag if this option is currently active.

mvc\resultlist\options\ZMFilterOption.php at line 63

getId

public int getId()

Get the option id.

Returns:
The option id.

mvc\resultlist\options\ZMFilterOption.php at line 70

getName

public string getName()

Get the option name.

Returns:
The option name.

mvc\resultlist\options\ZMFilterOption.php at line 77

isActive

public boolean isActive()

Check if this option is active.

Returns:
true if this option is active, false, if not.

ZenMagick 0.9.10