--- FreeBSD/tinderbox/webui/core/Config.php 2007/11/02 20:56:34 1.1.1.1 +++ FreeBSD/tinderbox/webui/core/Config.php 2007/11/09 22:56:45 1.1.1.1.2.1 @@ -24,29 +24,28 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # +# $Paefchen$ # $MCom: portstools/tinderbox/webui/core/Config.php,v 1.2 2007/10/13 02:28:47 ade Exp $ # - require_once 'TinderObject.php'; +class Config extends TinderObject { - class Config extends TinderObject { + public function __construct($argv = array()) { + $object_hash = array( + 'config_option_name' => '', + 'config_option_value' => '' + ); - function Config($argv = array()) { - $object_hash = array( - 'config_option_name' => '', - 'config_option_value' => '' - ); - - $this->TinderObject($object_hash, $argv); + parent::__construct($object_hash, $argv); } - function getName() { + public function getName() { return $this->config_option_name; } - function getValue() { + public function getValue() { return $this->config_option_value; } +} - } ?>