function __construct() { parent::__construct(); $this->load->library('applet'); $this->section = 'flows'; $this->admin_only($this->section); }
function __construct() { parent::__construct(); $this->load->model('vbx_theme'); $this->section = 'site settings'; $this->admin_only($this->section); }
public function __construct() { parent::__construct(); $this->load->model('vbx_device'); $this->template->write('title', 'Devices'); $this->section = 'devices'; }
function __construct() { // Check of user is ingelogd in class User_Controller (core/MY_Controller) // User wordt naar login page geredirect als hij niet is ingelogd // In __construct functie zodat het geldig is op elke functie van deze klasse parent::__construct(); }
public function __construct() { parent::__construct(); $this->template->write('title', 'Welcome'); $this->section = 'welcome'; $this->admin_only($this->section); }
function __construct() { parent::__construct(); $this->section = 'numbers'; $this->template->write('title', 'Numbers'); $this->load->model('vbx_incoming_numbers'); }
function __construct() { // This is to support SWFUpload. SWFUpload will scrape all cookies via Javascript // and send them as POST request params. This enables the file uploader to work // with a proper session. foreach ($_POST as $key => $value) { // Copy any key that looks like an Openvbx session over to $_COOKIE where it's expected if (preg_match("/^(\\d+\\-)?openvbx_session\$/", $key)) { // url-decode the session key, try to preserve "+" in email addresses $value = $_POST[$key]; $preserve_plus = false; preg_match("|s:5:\"email\";s:[0-9]+:\"(.*?)\";|", $value, $matches); if (strpos($matches[1], '+') !== false) { $plus_temp = '___plus___'; $preserve_plus = true; $email = str_replace('+', $plus_temp, $matches[0]); $value = str_replace($matches[0], $email, $value); } $value = urldecode($value); if ($preserve_plus) { $value = str_replace($plus_temp, '+', $value); } $_COOKIE[$key] = $value; } } parent::__construct(); $this->load->library('TwimlResponse'); $this->load->model('vbx_audio_file'); $this->say_params = array('voice' => $this->vbx_settings->get('voice', $this->tenant->id), 'language' => $this->vbx_settings->get('voice_language', $this->tenant->id)); }
public function __construct() { parent::__construct(); $this->_moduleName = 'main'; $this->load->model('main_mdl'); $this->load->model('RF_User_mdl'); }
function __construct() { parent::__construct(); $this->section = 'messages'; $this->template->write('title', 'Messages'); $this->load->helper('date'); $this->load->model('vbx_user'); }
public function __construct() { parent::__construct(); $this->user = VBX_User::get($this->session->userdata('user_id')); if (!$this->user->is_admin) { throw new SiteCachesException('Action not allowed to non-administrators'); } }
function __construct() { parent::__construct(); $this->section = 'accounts'; $this->admin_only('account settings'); $this->template->write('title', 'Users'); $this->load->model('vbx_device'); }
function __construct() { parent::__construct(); $this->load->model('matur_artikel'); $this->load->library('template_admin'); $this->load->helper('url'); $this->load->helper('form'); }
public function __construct() { parent::__construct(); $this->config->load('openvbx'); $this->load->database(); $this->load->model('vbx_device'); $this->template->write('title', 'Account'); $this->user_id = $this->session->userdata('user_id'); }
function __construct() { parent::__construct(); if (!$this->secure->get_user_session()->id) { redirect(site_url('/users/login')); } $this->load->model('quote/states_model'); $this->load->model('users/users_model'); }
function __construct() { // Check of user is ingelogd in class User_Controller (core/MY_Controller) // User wordt naar login page geredirect als hij niet is ingelogd // In __construct functie zodat het geldig is op elke functie van deze klasse parent::__construct(); $this->load->library('form_validation'); $this->load->model('lists_model'); }
function __construct() { parent::__construct(); // if (!$this->secure->get_user_session()->id) { // redirect(site_url('/users/login')); // } // $this->load->library('session'); $this->load->library('pagination'); }
public function __construct() { parent::__construct('user_type', 2); $this->load->model('users/mdl_user_clients'); $user_clients = $this->mdl_user_clients->where('fi_user_clients.user_id', $this->session->userdata('user_id'))->get()->result(); foreach ($user_clients as $user_client) { $this->user_clients[$user_client->client_id] = $user_client->client_id; } }
function __construct() { parent::__construct(); $username = $this->session->userdata('username'); $current_userType = $this->get_userType($username); if ($current_userType != $this->type_admin) { $this->redirect($current_userType); } $this->load->model("database"); }
public function __construct() { parent::__construct(); $this->section = 'upgrade'; $this->admin_only($this->section); // no cache $ci =& get_instance(); $ci->cache->flush(); $ci->cache->enabled(false); }
function __construct() { parent::__construct(); $this->folder = "user/"; $this->module = $this->folder . "user_profile/"; $this->http_ref = base_url() . $this->module; $this->load->model("user_profile_model", "model"); $this->load->library("utils"); $this->layout = "layout_pages/"; $this->my_logged_data = $this->data['users']['user']; $this->admin_layout = "layout/main_layout"; }
public function __construct() { parent::__construct('user_type', 2); $this->load->model('users/mdl_user_clients'); $user_clients = $this->mdl_user_clients->assigned_to($this->session->userdata('user_id'))->get()->result(); if (!$user_clients) { die(lang('guest_account_denied')); } foreach ($user_clients as $user_client) { $this->user_clients[$user_client->client_id] = $user_client->client_id; } }
function __construct() { parent::__construct(); $this->load->model('Infra_model'); }
function __construct() { parent::__construct(); $this->load->model('vbx_audio_file'); }
function __construct() { parent::__construct(); $this->load->model("login_model"); }
function __construct() { parent::__construct(); $this->section = 'messages'; $this->template->write('title', 'Message'); }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->section = 'upgrade'; $this->admin_only($this->section); }
public function __construct() { parent::__construct('user_type', 1); }
public function __construct() { parent::__construct(); $this->template->write('title', 'Voicemail'); $this->section = 'voicemail'; }
function __construct() { parent::__construct(); $this->admin_only('dialogs'); $this->template->set_template('dialog'); }