ZenMagick 0.9.6


org.zenmagick.model.ZMConfigValue

Class ZMConfigValue

ZMObject
|
+--ZMConfigValue

public class ZMConfigValue
extends ZMObject

Configuration value.

Author:
DerManoMann
Version:
$Id: ZMConfigValue.php 2054 2009-03-12 03:41:22Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMConfigValue()

Create new config value.

Method Summary
string

getDescription()

Get the description.

string

getId()

Get the id.

string

getKey()

Get the key.

string

getName()

Get the name.

string

getSetFunction()

Get the set function.

string

getUseFunction()

Get the use function.

mixed

getValue()

Get the value.

boolean

hasSetFunction()

Check if a set function is set or not.

void

setDescription(string description)

Set the description.

void

setId(string id)

Set the id.

void

setKey(string key)

Set the key.

void

setName(string name)

Set the name.

void

setSetFunction(string function)

Set the set function.

void

setUseFunction(string function)

Set the use function.

void

setValue(mixed value)

Set the value.

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

Constructor Detail

ZMConfigValue

public ZMConfigValue()

Create new config value. /


Method Detail

getDescription

public string getDescription()

Get the description.

Returns:
The description.

getId

public string getId()

Get the id.

Returns:
The id.

getKey

public string getKey()

Get the key.

Returns:
The key.

getName

public string getName()

Get the name.

Returns:
The name.

getSetFunction

public string getSetFunction()

Get the set function.

Returns:
The set function.
Deprecated.

getUseFunction

public string getUseFunction()

Get the use function.

Returns:
The use function.
Deprecated.

getValue

public mixed getValue()

Get the value.

Returns:
The value.

hasSetFunction

public boolean hasSetFunction()

Check if a set function is set or not.

Returns:
true if a set function is configured, false if not.

setDescription

public void setDescription(string description)

Set the description.

Parameters:
description - The description.

setId

public void setId(string id)

Set the id.

Parameters:
id - The id.

setKey

public void setKey(string key)

Set the key.

Parameters:
key - The key.

setName

public void setName(string name)

Set the name.

Parameters:
name - The name.

setSetFunction

public void setSetFunction(string function)

Set the set function.

Parameters:
function - The use function.
Deprecated.

setUseFunction

public void setUseFunction(string function)

Set the use function.

Parameters:
function - The use function.
Deprecated.

setValue

public void setValue(mixed value)

Set the value.

Parameters:
value - The value.

ZenMagick 0.9.6