public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('pricespy'); $this->load->library('DX_Auth'); }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('search'); //$this->output->enable_profiler(TRUE); }
public function __construct() { parent::__construct(); $this->load->module('core'); $lang = new MY_Lang(); $lang->load('mailer'); }
public function __construct() { parent::__construct(); $this->load->model('cmsemail_model'); $lang = new MY_Lang(); $lang->load('cmsemail'); }
/** * Init */ private function init() { \CMSFactory\assetManager::create()->registerScript('scripts'); $this->load->model('found_less_expensive_model'); $lang = new MY_Lang(); $lang->load('found_less_expensive'); }
/** * Save sitemap */ public function saveSiteMap() { $lang = new MY_Lang(); $lang->load('sitemap'); $successMessage = lang("Site map have been saved", "sitemap"); $successMessageTitle = lang("Site map have been saved", "sitemap"); // Get Site Map Data $sitemap = file_get_contents(site_url('sitemapRegenerate.xml')); if ($sitemap) { if (!is_dir($this->site_map_folder_path)) { mkdir($this->site_map_folder_path, 0777); } foreach (glob($this->site_map_folder_path . '/sitemap*') as $site_map_file) { chmod($site_map_file, 0777); unlink($site_map_file); } // Create file and puts Site Map data if (file_put_contents($this->sitemap_path, $sitemap)) { chmod($this->sitemap_path, 0777); $this->lib_admin->log($successMessage); showMessage($successMessage, $successMessageTitle); } else { showMessage(lang("Site map have not been saved. Set writing permissions on module folder.", 'sitemap'), lang("Error", "sitemap"), 'r'); } } else { showMessage(lang("Site map have not been saved", 'sitemap'), lang("Error", "sitemap"), 'r'); } }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('ymarket'); $this->load->model('ymarket_model'); }
public function __construct() { parent::__construct(); $this->load->model('red_helper_model'); $lang = new MY_Lang(); $lang->load('red_helper'); }
/** * Get modules locales * @return array */ public function parseModules() { try { $modules = new \DirectoryIterator(self::MODULES_PATH); foreach ($modules as $module) { if ($module->isDir() && !$module->isDot() && is_dir(self::MODULES_PATH . $module->getBasename() . '/language')) { $module_dir = self::MODULES_PATH . $module->getBasename(); $language_dir = $module_dir . '/language/'; $locales = new \DirectoryIterator($language_dir); foreach ($locales as $locale) { if ($locale->isDir() && !$locale->isDot() && is_dir($language_dir . $locale->getBasename()) && isLocale($locale->getBasename())) { $objLang = new \MY_Lang(); $objLang->load($module->getBasename()); include $module_dir . '/module_info.php'; $menu_name = $com_info['menu_name'] ? $com_info['menu_name'] : $module->getBasename(); self::$MODULES_LOCALES[$locale->getBasename()][] = array('module' => $module->getBasename(), 'menu_name' => ucfirst($menu_name)); unset($com_info); } } } } return self::$MODULES_LOCALES; } catch (Exception $exc) { return array(); } }
public function __construct() { parent::__construct(); $this->load->module('forms'); $lang = new MY_Lang(); $lang->load('cfcm'); }
public function __construct() { parent::__construct(); $this->load->module('core'); $lang = new MY_Lang(); $lang->load('language_switch'); }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('auth'); $this->initialize(); }
/** * __construct base object loaded * @access public * @author DevImageCms * @copyright (c) 2013, ImageCMS */ public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('mod_discount'); $this->load->model('discount_model_admin'); }
/** * Get modules locales * @return array */ public function parseModules() { try { $modules = getModulesPaths(); foreach ($modules as $moduleName => $modulePath) { $language_dir = $modulePath . 'language/'; if (!file_exists($language_dir)) { // TODO: Спитати Марка чому в shop нема language =)) continue; } $locales = new \DirectoryIterator($language_dir); foreach ($locales as $locale) { if ($locale->isDir() && !$locale->isDot() && is_dir($language_dir . $locale->getBasename()) && isLocale($locale->getBasename())) { $objLang = new \MY_Lang(); $objLang->load($moduleName); $module_info = $module_dir . '/module_info.php'; $module_info = \get_mainsite_url($module_info); include $module_info; $menu_name = $com_info['menu_name'] ? $com_info['menu_name'] : $moduleName; self::$MODULES_LOCALES[$locale->getBasename()][] = array('module' => $moduleName, 'menu_name' => ucfirst($menu_name)); unset($com_info); } } } return self::$MODULES_LOCALES; } catch (Exception $exc) { return array(); } }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('wishlist'); $this->load->helper(array('form', 'url')); }
function __construct() { parent::__construct(); $this->load->module('core'); $lang = new MY_Lang(); $lang->load('imagebox'); }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('xforms'); $this->load->model('xforms_model'); }
function __construct() { parent::__construct(); $this->load->library('DX_Auth'); $this->load->model('rating_model'); $obj = new MY_Lang(); $obj->load('star_rating'); }
public function __construct() { parent::__construct(); $this->load->language('email'); $this->email = \cmsemail\email::getInstance(); $lang = new MY_Lang(); $lang->load('cmsemail'); }
public function __construct() { if ($this->uri->segments[2] == 'category' || $this->uri->segments[3] == 'category' || $this->uri->segments[2] == 'filter' || $this->uri->segments[3] == 'filter' || $this->uri->segments[2] == 'pre_filter' || $this->uri->segments[3] == 'pre_filter') { parent::__construct(); $lang = new MY_Lang(); $lang->load('smart_filter'); } }
public function __construct() { parent::__construct(); $this->_load_languages(); Modules::$registry['core'] = $this; $lang = new MY_Lang(); $lang->load('core'); }
function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('mod_discount'); $this->load->model('discount_model_admin'); \CMSFactory\assetManager::create()->registerStyle('style')->registerScript('adminScripts'); }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('pricespy'); $this->load->module('core'); $this->load->model('pricespy_model'); }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('translator'); $this->load->helper('translator'); $this->poFileManager = new PoFileManager(); }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('new_level'); $this->load->model('new_level_model'); $this->path = TEMPLATES_PATH . $this->db->get('settings')->row()->site_template; }
public function __construct() { parent::__construct(); $this->load->module('core'); $lang = new MY_Lang(); $lang->load('tags'); // $this->output->enable_profiler(TRUE); }
function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('share'); $this->load->library('DX_Auth'); //cp_check_perm('module_admin'); }
public function __construct() { parent::__construct(); $lang = new MY_Lang(); $lang->load('documentation'); $this->load->model('documentation_model'); $this->load->library('pagination'); }
public function __construct() { parent::__construct(); $this->load->module('core'); $this->module = $this->getModule($_SERVER['HTTP_REFERER']); $lang = new MY_Lang(); $lang->load('comments'); }
public function __construct() { parent::__construct(); $this->load->helper('path'); $this->load->model('rating_model'); $obj = new MY_Lang(); $obj->load('star_rating'); }