public function __construct() { parent::__construct(); ee()->load->library('members'); $this->index_url = $this->base_url; $this->base_url = ee('CP/URL')->make($this->base_url, $this->query_string); }
public function __construct() { parent::__construct(); ee()->load->model('member_model'); $this->quicklinks = ee()->member_model->get_member_quicklinks($this->member->member_id); $this->index_url = $this->base_url; $this->base_url = ee('CP/URL')->make($this->base_url, $this->query_string); }
public function __construct() { parent::__construct(); $this->bookmarks = array(); $bookmarks = is_string($this->member->bookmarklets) ? (array) json_decode($this->member->bookmarklets) : array(); foreach ($bookmarks as $bookmark) { $this->bookmarks[] = $bookmark; } $this->index_url = $this->base_url; $this->base_url = ee('CP/URL')->make($this->base_url, $this->query_string); }
public function __construct() { parent::__construct(); ee()->lang->load('admin_content'); if (!$this->cp->allowed_group('can_edit_html_buttons')) { show_error(lang('unauthorized_access')); } // load the predefined buttons include_once APPPATH . 'config/html_buttons.php'; $this->predefined = $predefined_buttons; $this->index_url = $this->base_url; $this->base_url = ee('CP/URL')->make($this->base_url, $this->query_string); }