/** * Constructor. * * @param array $config An optional associative array of configuration settings. * * @see JControllerLegacy * @since 12.2 * @throws Exception */ public function __construct($config = array()) { parent::__construct($config); if ($this->input->get("component", 0, "int")) { $this->view_list = "component"; } }