original_string: protected function renderSimpleTable($table)
      {
          $array = array();
  
          $row = $table->getFirstRow();
          if ($row === false) {
              return $array;
          }
          foreach ($row->getColumns() as $columnName => $columnValue) {
              $array[$columnName] = $columnValue;
          }
          return $array;
      }
code: protected function renderSimpleTable($table)
      {
          $array = array();
  
          $row = $table->getFirstRow();
          if ($row === false) {
              return $array;
          }
          foreach ($row->getColumns() as $columnName => $columnValue) {
              $array[$columnName] = $columnValue;
          }
          return $array;
      }
code_tokens: protected function renderSimpleTable ( $ table ) { $ array = array ( ) ; $ row = $ table -> getFirstRow ( ) ; if ( $ row === false ) { return $ array ; } foreach ( $ row -> getColumns ( ) as $ columnName => $ columnValue ) { $ array [ $ columnName ] = $ columnValue ; } return $ array ; }
docstring: Converts the simple data table to an array
  
  @param Simple $table
  @return array
docstring_tokens: Converts the simple data table to an array