/** * Get tab configuration based on the full combined results configuration. * * @param array $config Combined results configuration * * @return array */ protected function getTabConfig($config) { $config = parent::getTabConfig($config); // Strip out non-tab sections of the configuration: unset($config['General']); return $config; }
/** * Convenience method to make invocation of forward() helper less verbose. * * @param string $controller Controller to invoke * @param string $action Action to invoke * @param array $params Extra parameters for the RouteMatch object (no * need to provide action here, since $action takes care of that) * * @return mixed */ public function forwardTo($controller, $action, $params = []) { $this->getRequest()->getQuery()->set('combined', 1); return parent::forwardTo($controller, $action, $params); }