ZenMagick 0.9.11


zenmagick.store.shared.model\ZMConfigValue
model\ZMConfigValue.php at line 33

Class ZMConfigValue

ZMObject
└─ZMConfigValue

public class ZMConfigValue
extends ZMObject

Configuration value.

Author:
DerManoMann

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

__construct(array properties)

Create new config value.

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.

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

setValue(mixed value)

Set the value.

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

Method Detail

model\ZMConfigValue.php at line 45

__construct

public void __construct(array properties)

Create new config value.

Parameters:
properties - Optional properties; default is an empty array;

model\ZMConfigValue.php at line 95

getDescription

public string getDescription()

Get the description.

Returns:
The description.

model\ZMConfigValue.php at line 67

getId

public string getId()

Get the id.

Returns:
The id.

model\ZMConfigValue.php at line 81

getKey

public string getKey()

Get the key.

Returns:
The key.

model\ZMConfigValue.php at line 74

getName

public string getName()

Get the name.

Returns:
The name.

model\ZMConfigValue.php at line 103

getSetFunction

public string getSetFunction()

Get the set function.

Returns:
The set function.
Deprecated.

model\ZMConfigValue.php at line 88

getValue

public mixed getValue()

Get the value.

Returns:
The value.

model\ZMConfigValue.php at line 110

hasSetFunction

public boolean hasSetFunction()

Check if a set function is set or not.

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

model\ZMConfigValue.php at line 147

setDescription

public void setDescription(string description)

Set the description.

Parameters:
description - The description.

model\ZMConfigValue.php at line 119

setId

public void setId(string id)

Set the id.

Parameters:
id - The id.

model\ZMConfigValue.php at line 133

setKey

public void setKey(string key)

Set the key.

Parameters:
key - The key.

model\ZMConfigValue.php at line 126

setName

public void setName(string name)

Set the name.

Parameters:
name - The name.

model\ZMConfigValue.php at line 155

setSetFunction

public void setSetFunction(string function)

Set the set function.

Parameters:
function - The use function.
Deprecated.

model\ZMConfigValue.php at line 140

setValue

public void setValue(mixed value)

Set the value.

Parameters:
value - The value.

ZenMagick 0.9.11