Source for file Setting.class.php
Documentation is available at Setting.class.php
* Gumbo Library Framework
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.php
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* This is a specialized type of List, in name only. It contains a list of data
* in key=>value pairs. It is primarily a helper to some class, or feature for
* holding information. The primary difference between a Setting and a List is
* a Setting requires a key reference (as a string). This key is used to retrieve
* a specific piece of information.
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* @desc Setting Interface
gumbo_load ("Interface_List");
* Sets the setting values by defining a key=>val pair, or by sending an associative array
* @param string|array$key
public function set ($data, $val=
null);