/** * Shopping constructor * * @todo Change table to 'shopping' and update schema * * @return void **/ function __construct () { // Set the database table to use $this->_table = DatabaseObject::tablename('shopping'); // Initialize the session handlers parent::__construct(); // Queue the session to start add_action('init',array(&$this,'init')); }
public function merge(&$with) { parent::merge($with); $this->setResults($this->results); }