original_string: public function originalRender()
      {
          Piwik::checkObjectTypeIs($this->table, array('Simple', 'DataTable'));
  
          if ($this->table instanceof Simple) {
              $array = $this->renderSimpleTable($this->table);
          } elseif ($this->table instanceof DataTable) {
              $array = $this->renderTable($this->table);
          }
  
          if ($this->serialize) {
              $array = serialize($array);
          }
          return $array;
      }
code: public function originalRender()
      {
          Piwik::checkObjectTypeIs($this->table, array('Simple', 'DataTable'));
  
          if ($this->table instanceof Simple) {
              $array = $this->renderSimpleTable($this->table);
          } elseif ($this->table instanceof DataTable) {
              $array = $this->renderTable($this->table);
          }
  
          if ($this->serialize) {
              $array = serialize($array);
          }
          return $array;
      }
code_tokens: public function originalRender ( ) { Piwik :: checkObjectTypeIs ( $ this -> table , array ( 'Simple' , 'DataTable' ) ) ; if ( $ this -> table instanceof Simple ) { $ array = $ this -> renderSimpleTable ( $ this -> table ) ; } elseif ( $ this -> table instanceof DataTable ) { $ array = $ this -> renderTable ( $ this -> table ) ; } if ( $ this -> serialize ) { $ array = serialize ( $ array ) ; } return $ array ; }
docstring: Converts the current data table to an array
  
  @return array
  @throws Exception
docstring_tokens: Converts the current data table to an array