Esempio n. 1
0
	/**
	 * Puts it all together and runs it
	 * 
	 */
	public function execute ()
	{
		# Create a dispatcher and give it the database and page info
		$dp = new dispatcher($this->db, $this->qbPage);
		# Puts the dispatcher output into the template data
		$this->qbTemplateData = $dp->output();
		$this->qbTemplateData['errors'] = $this->qbErrors;
		# Create the template and give it the data
		$tpl = new template($this->qbTemplateData);
		# Output starts!
		$tpl->display();
	}