docs/web_connector/example_kohana_web_connector/application/classes/model/qbdata.php
public function GetErrors() { 
		//Build the query and condition
		$query = DB::select('quickbooks_queue_id', 'ident','qb_action','qbxml','msg','enqueue_datetime')->from('quickbooks_queue')->where('msg','!=',"");
		//Query against the models database
		$errorset = $this->_db->query(Database::SELECT, $query, FALSE)->as_array();
		//Go through the errors if you want to find some relevant data
		$errorset = Model_Qbdata::FetchDetails($errorset);
		//echo Debug::vars($errorset);
		return $errorset;
	}
public function GetErrors() { 
		//Build the query and condition
		$query = DB::select('quickbooks_queue_id', 'ident','qb_action','qbxml','msg','enqueue_datetime')->from('quickbooks_queue')->where('msg','!=',"");
		//Query against the models database
		$errorset = $this->_db->query(Database::SELECT, $query, FALSE)->as_array();
		//Go through the errors if you want to find some relevant data
		$errorset = Model_Qbdata::FetchDetails($errorset);
		//echo Debug::vars($errorset);
		return $errorset;
	}
/*
Gets all Quickbooks errors from the database and returns the array to the caller