/** * Constructeur. * * @return void */ public function __construct($okt) { parent::__construct($okt, 'admin'); $this->action = !empty($_REQUEST['action']) ? $_REQUEST['action'] : null; $this->application = !empty($_REQUEST['application']) ? $_REQUEST['application'] : null; $this->do = !empty($_REQUEST['do']) ? $_REQUEST['do'] : null; $this->breadcrumb = new breadcrumb(); $this->flashMessages = new oktFlashMessages(); $this->messages = new adminMessagesSuccess(); $this->warnings = new adminMessagesWarnings(); $this->errors = new adminMessagesErrors(); $this->getCommonReady(); }
/** * Constructeur. * * @return void */ public function __construct($okt) { parent::__construct($okt, 'public'); }