original_string: protected function outputMany($data)
      {
          if (is_object($data)) {
              $data = $data->getRows();
          }
  
          $output = array();
          foreach ($data as $row) {
              $output[] = $this->outputOne($row);
          }
  
          return $output;
      }
code: protected function outputMany($data)
      {
          if (is_object($data)) {
              $data = $data->getRows();
          }
  
          $output = array();
          foreach ($data as $row) {
              $output[] = $this->outputOne($row);
          }
  
          return $output;
      }
code_tokens: protected function outputMany ( $ data ) { if ( is_object ( $ data ) ) { $ data = $ data -> getRows ( ) ; } $ output = array ( ) ; foreach ( $ data as $ row ) { $ output [ ] = $ this -> outputOne ( $ row ) ; } return $ output ; }
docstring: Generic outptu filtering method for multiple records of data.
  
  @param object|array $data
  
  @return array
docstring_tokens: Generic outptu filtering method for multiple records of data .