ZenMagick 0.9.8


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

Class ZMFilterOption

ZMObject
└─ZMFilterOption

public class ZMFilterOption
extends ZMObject

A single filter option.

Author:
DerManoMann
Version:
$Id: ZMFilterOption.php 2610 2009-11-20 02:45:25Z dermanomann $

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

ZMFilterOption(string name, int id, boolean active)

Create a new filter option.

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

Constructor Detail

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

ZMFilterOption

public ZMFilterOption(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.

Method Detail

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

getId

public int getId()

Get the option id.

Returns:
The option id.

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

getName

public string getName()

Get the option name.

Returns:
The option name.

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

isActive

public boolean isActive()

Check if this option is active.

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

ZenMagick 0.9.8