_table = 'usergroup_field'; $this->_pk = 'groupid'; parent::__construct(); } public function fetch_all() { return DB::fetch_all("SELECT * FROM %t where 1", array($this->_table),$this->_pk); } } ?>