public function getRow($table, $cols, $options = array(), $start = 0)
    {
        // Set Limit
        $options['L'] = $start . ",1";

        // Get Result
        $result = $this->get($table, $cols, $options);
        if (count($result['data']) >= 1) {
            return $result['data'][0];
        } else {
            return array();
        }
    }
public function getRow($table, $cols, $options = array(), $start = 0)
    {
        // Set Limit
        $options['L'] = $start . ",1";

        // Get Result
        $result = $this->get($table, $cols, $options);
        if (count($result['data']) >= 1) {
            return $result['data'][0];
        } else {
            return array();
        }
    }
public function getRow ( $ table , $ cols , $ options = array ( ) , $ start = 0 ) { // Set Limit $ options [ 'L' ] = $ start . ",1" ; // Get Result $ result = $ this -> get ( $ table , $ cols , $ options ) ; if ( count ( $ result [ 'data' ] ) >= 1 ) { return $ result [ 'data' ] [ 0 ] ; } else { return array ( ) ; } }
only a single data row
@param $table
@param $cols
@param array $options
@param int $start
@return array
only a single data row