public function __construct($params = false) { parent::__construct($params); if (isset($params['theme'])) { $this->theme = $params['theme']; } }