Gumbo_Setting
Gumbo_List | --Gumbo_Setting
Setting Class
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Implements interfaces:
Child classes:
Inherited Methods
- Gumbo_List::__construct()
- Gumbo_List::add()
- Gumbo_List::exists()
- Gumbo_List::get()
- Gumbo_List::getAll()
- Gumbo_List::getIterator()
- Gumbo_List::remove()
- Gumbo_List::removeValue()
- Gumbo_List::reset()
- Gumbo_List::size()
- Gumbo_List::__get()
- Gumbo_List::__isset()
- Gumbo_List::__set()
- Gumbo_List::__unset()
Class Methods
public Gumbo_Setting __construct ( [array $args] )
[line 42]
Constructor
Parameter(s):
- (array) $args :: key=>val pairs
Overridden in child classes as:
- Gumbo_Load_Setting::__construct()
- Constructor
Overrides
[ Top ]
public void add ( mixed $data, [string $key] )
[line 61]
Adds a pair value to the setting
Parameter(s):
- (mixed) $data
- (string) $key :: (required)
- postcondition:
remove all non-alphanumeric (excluding underscores) characters from $key - throws:
Gumbo_Exception Overridden in child classes as:
- Gumbo_Load_Setting::add()
- Adds a key=>value pair to the setting
Implementation of:
Overrides
[ Top ]public void removeValue ( mixed $data ) [line 80]Removes a value from the List (not used)
Parameter(s):
- (mixed) $data
Implementation of:
Overrides
[ Top ]public void set ( string|array $data, [mixed $val] ) [line 93]Sets the setting values
Parameter(s):
- (string|array) $data :: (string represents a 'key') associative array of key=>val pairs
- (mixed) $val
- throws:
Gumbo_Exception Implementation of:
[ Top ]