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;
    }
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;
    }
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 ; }
Converts the current data table to an array

@return array
@throws Exception
Converts the current data table to an array