protected function createHeader($views) { $header = parent::createHeader($views); $key = array_search("attachments", $header); if ($key === false) { return $header; } unset($header[$key]); $header = array_values($header); return $header; }