Ejemplo n.º 1
0
	/**
	 * 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'));
	}
Ejemplo n.º 2
0
 public function merge(&$with)
 {
     parent::merge($with);
     $this->setResults($this->results);
 }