/** * Performs an export of the provided table and sets the view of the export to the response * @param zibo\library\html\table\ExtendedTable $table Table to get the export of * @param string $extension The extension for the export * @return null */ protected function performExport(ExtendedTable $table, $extension) { ini_set('memory_limit', '512M'); ini_set('max_execution_time', '500'); ini_set('max_input_time', '500'); $title = $this->getViewTitle(); $table->setExportTitle($title); $view = $table->getExportView($extension); $this->response->setView($view); }