database = $options['database']; $this->table = $options['table']; } public static function create($options) { return new self($options); } public function preload() { return $this->database->selectAssoc("SELECT name,type,value FROM {$this->table}", 'name', array('name', 'value', 'type')); } public function save() { throw new Sihnon_Exception_NotImplemented(); } } ?>