function __construct() { $this->template->add_js('jquery.aggrid', 'libraries'); $this->template->add_css('grid'); //$this->template->add_css('pages'); parent::__construct(); }
public function __construct() { $this->img_path = IMG_PATH . ID_USERS . self::IMG_FOLDER; $this->sphinxQL = new Connection(); $this->sphinxQL->setConnectionParams(SPHINX_IP, SPHINX_PORT); parent::__construct(); }
public function __construct() { parent::__construct(); $this->load->model('users/musers'); $user = $this->musers->get_user(); $this->default_settings['mail_']['new_order_email'] = $user['email']; }
function __construct() { parent::__construct(); $user = $this->musers->get_user(); $this->default_settings['distribution_']['email'] = $user['email']; $this->default_settings['registration_notice_']['email'] = $user['email']; }
function __construct() { parent::__construct(); $this->load->model('site_settings/msite_settings'); $admin_data = $this->msite_settings->get_admin_settings(); $this->default_settings['reviews_']['admin_email'] = $admin_data['email']; $this->default_settings['reviews_']['admin_name'] = $admin_data['name']; }
function __construct() { parent::__construct(); $this->segment = $this->uri->segment(self::MID); $this->img_path = BASE_PATH . 'users/' . $this->id_users . '/media/module_' . $this->segment . self::IMG_FOLDER; $this->img_br_path = IMG_PATH . $this->id_users . '/media/module_' . $this->segment . self::IMG_FOLDER; $this->file_path = BASE_PATH . 'users/' . $this->id_users . '/media/module_' . $this->segment . self::FILE_FOLDER; }
function __construct($GridName = 'grid_tree', $options = array()) { $this->GridName = $GridName; foreach ($options as $key => $ms) { $this->options[$key] = $ms; } if (isset($_GET['ajax'])) { $this->AjaxOutput = TRUE; } if (isset($_GET['ajax_show_all'])) { $this->AjaxShowAll = TRUE; } /*if(isset($_GET['no_template_load'])) { if($this->input->post('id')) { $this->session->unsetData(array('TREE_GRID_'.$this->GridName, $this->input->post('id')), FALSE); } exit; }*/ //$this->PID = $this->session->getData('TREE_GRID_'.$this->GridName, FALSE); parent::__construct(); }
function __construct() { parent::__construct(); $this->segment = $this->uri->segment(self::MID); }
function __construct() { parent::__construct(); $this->get_current_currency(); }
function __construct() { parent::__construct(); }
public function __construct() { $this->sphinxQL = new Connection(); $this->sphinxQL->setConnectionParams(SPHINX_IP, SPHINX_PORT); parent::__construct(); }
public function __construct() { parent::__construct(); $this->_init(); }
function __construct() { parent::__construct(); $this->img_load_path = BASE_PATH . 'users/' . $this->id_users . self::IMG_FOLDER; $this->img_path = IMG_PATH . ID_USERS . self::IMG_FOLDER; }
public function __construct() { parent::__construct(); $this->segment = $this->uri->segment(self::MID); $this->img_path = IMG_PATH . $this->id_users . '/media/module_' . $this->segment . self::IMG_FOLDER; }
public function __construct() { parent::__construct(); $this->load->library('favorites'); }
function __construct() { parent::__construct(); $this->load->library('cart'); $this->get_discounts_array(); }
function __construct() { parent::__construct(); $this->xls_path = 'users/' . ID_USERS . self::XLS_FOLDER; }
public function __construct() { parent::__construct(); $this->load->library('cart'); }
public function __construct() { parent::__construct(); $this->img_path = IMG_PATH . ID_USERS . self::IMG_FOLDER; }
function __construct($GridName = 'grid', $SES = TRUE, $options = FALSE) { if ($options) { foreach ($options as $key => $ms) { $this->setOptions($key, $ms); } } $this->GridName = $GridName; $this->load->helper('pages'); if (isset($_GET['ajax'])) { $this->AjaxOutput = true; $session_data = $this->Options; if ($SES && !($session_data = $this->session->flashdata('GRID_' . $this->GridName))) { $session_data = $this->Options; } } else { $session_data = $this->Options; if ($SES && !($session_data = $this->session->flashdata('GRID_' . $this->GridName))) { $session_data = $this->Options; } } if (isset($_GET['limit'])) { if (intval($_GET['limit']) > 0) { $this->setOptions('limit', intval($_GET['limit'])); $session_data['limit'] = intval($_GET['limit']); } else { $session_data['limit'] = $this->getOptions('limit'); } } else { $this->setOptions('limit', $session_data['limit']); } if (isset($_GET['sort'])) { $arr = explode('/', $_GET['sort']); if (is_array($arr) && count($arr) > 1) { $this->setOptions('sort', $arr[0]); $this->setOptions('desc', $arr[1]); $session_data['sort'] = $arr[0]; $session_data['desc'] = $arr[1]; } else { $this->setOptions('sort', $_GET['sort']); $session_data['sort'] = $_GET['sort']; $session_data['desc'] = ''; } } else { $this->setOptions('sort', $session_data['sort']); $this->setOptions('desc', $session_data['desc']); } if (isset($_GET['page'])) { if (intval($_GET['page']) > 0) { $this->setOptions('page', intval($_GET['page'])); $session_data['page'] = intval($_GET['page']); } else { $session_data['page'] = $this->getOptions('page'); } } else { $this->setOptions('page', $session_data['page']); } if (isset($_POST['search'])) { $search_array = array(); $search_string = rawurldecode(base64_decode(trim($_POST['search']))); $session_data['search'] = trim($_POST['search']); parse_str($search_string, $search_array); $this->setOptions('search', $search_array); $session_data['search'] = $_POST['search']; } else { $search_array = array(); if (!is_array($session_data['search'])) { $search_string = rawurldecode(base64_decode($session_data['search'])); parse_str($search_string, $search_array); } $this->setOptions('search', $search_array); } $this->session->set_flashdata('GRID_' . $this->GridName, $session_data); parent::__construct(); }