original_string: 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();
          }
      }
code: 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();
          }
      }
code_tokens: 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 ( ) ; } }
docstring: only a single data row
  @param $table
  @param $cols
  @param array $options
  @param int $start
  @return array
docstring_tokens: only a single data row