public function __construct() { parent::__construct(); // Set Table Prefix $this->table_prefix = Kohana::config('database.default.table_prefix'); // Cacheable JSON Controller $this->is_cachable = TRUE; }
function __construct() { parent::__construct(); $this->template->this_page = 'simple_group_settings'; //check the group user's permissions for this $permissions = groups::get_permissions_for_user($this->user->id); if (!$permissions["edit_group_settings"]) { url::redirect(url::site() . 'admin/simplegroups/dashboard'); } }
function __construct() { parent::__construct(); // Display Reply to Option? $this->reply_to = TRUE; if (!Kohana::config("settings.sms_provider")) { // Hide Reply to option $this->reply_to = FALSE; } $this->template->this_page = 'messages'; }
function __construct() { parent::__construct(); $this->template->this_page = 'reports'; }
function __construct() { parent::__construct(); $this->template->this_page = 'adminmap'; }
function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->template->this_page = 'profile'; $this->user_id = $_SESSION['auth_user']->id; }