protected function __construct() { parent::__construct(); $this->modules_dir = D . '/sys/modules'; if (!is_dir($this->modules_dir)) { mkdir($this->modules_dir); } $this->back_modules_dir = D . '/sys/back_modules'; if (!is_dir($this->back_modules_dir)) { mkdir($this->back_modules_dir); } }
public function __construct() { parent::__construct(); if (isset($_GET['ajax'])) { $this->auto_head = false; if ($_GET['ajax'] == 'script') { $this->ajax = true; } } elseif (isset($_POST['ajax'])) { $this->auto_head = false; if ($_POST['ajax'] == 'script') { $this->ajax = true; } } $this->set_theme('default'); $this->menu = Menu::me(); }
protected function __construct() { parent::__construct(); }
protected function __construct() { parent::__construct(); $arr = $this->db->get("SELECT * FROM menu ORDER BY mother,pos;", 60); $this->full_array = $arr; }
protected function __construct() { parent::__construct(); $this->dir = D . '/sys/widgets'; }
public function __construct($id = 0) { parent::__construct(); $this->arr['id'] = $id; $this->arr['group'] = 'guest'; }
public function __construct($args) { parent::__construct(); $this->args = $args; $this->registry['args'] = $args; }