public function select($table, $where = array(), $fields = '*', $order = array(), $cache = true) {
        return $this->selectAll($table, $where, $fields, $order, 1, $cache);
    }
public function select($table, $where = array(), $fields = '*', $order = array(), $cache = true) {
        return $this->selectAll($table, $where, $fields, $order, 1, $cache);
    }
public function select ( $ table , $ where = array ( ) , $ fields = '*' , $ order = array ( ) , $ cache = true ) { return $ this -> selectAll ( $ table , $ where , $ fields , $ order , 1 , $ cache ) ; }
Returns a single record for a select query for the chosen table
@param string $table This should be the table you wish to select the values from
@param array $where Should be the field names and values you wish to use as the where query e.g. array('fieldname' => 'value', 'fieldname2' => 'value2', etc).
@param string|array $fields This should be the records you wis to select from the table. It should be either set as '*' which is the default or set as an array in the following format array('field', 'field2', 'field3', etc).
@param array $order This is the order you wish the results to be ordered in should be formatted as follows array('fieldname' => 'ASC') or array("'fieldname', 'fieldname2'" => 'DESC')
@param boolean $cache If the query should be cached or loaded from cache set to true else set to false
@return array Returns a single table record as the standard array when running SQL queries
Returns a single record for a select query for the chosen table