function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); }
function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/ssb_helper.php'; $this->ssb_helper = ssb_helper::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_table.php'; $this->ssb_table = ssb_table::getInstance(); $this->ssb_setting = $this->ssb_data->getSetting(); }
function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/admin/generators/ssb_review.php'; $this->ssb_review = ssb_review::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_helper.php'; $this->ssb_helper = ssb_helper::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); require_once DIR_CONFIG . 'ssb_library/admin/generators/gen_helper.php'; $this->gen_helper = gen_helper::getInstance(); }
function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/ssb_helper.php'; $this->ssb_helper = ssb_helper::getInstance(); require_once DIR_CONFIG . 'ssb_library/catalog/tools/path_controller.php'; $this->pathController = pathController::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); $this->ssb_setting = $this->ssb_data->getSetting(); $this->totalLanguages = isset($_SESSION['totalLanguages']) ? $_SESSION['totalLanguages'] : $this->ssb_helper->getActiveLang(); $this->def_lang_code = isset($_SESSION['def_lang_code']) ? $_SESSION['def_lang_code'] : $this->ssb_helper->getDefaultLanguage(); }
function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/ssb_seo_controller.php'; $this->seoController = seoController::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_helper.php'; $this->ssb_helper = ssb_helper::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); $this->ssb_setting = $this->ssb_data->getSetting(); list($this->totalLanguages, $this->def_lang_code) = $this->seoController->getDefaultLanguageData(); list($this->l_code_session, $this->l_id_session) = $this->seoController->setLanguageData(); }
function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_table.php'; $this->ssb_table = ssb_table::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_helper.php'; $this->ssb_helper = ssb_helper::getInstance(); $this->verOC = $this->ssb_helper->getVerOC(); require_once DIR_CONFIG . 'ssb_library/ssb_category_template.php'; $this->ssb_category_template = ssb_category_template::getInstance(); }
function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/ssb_helper.php'; $this->ssb_helper = ssb_helper::getInstance(); require_once DIR_CONFIG . 'ssb_library/admin/generators/gen_helper.php'; $this->gen_helper = gen_helper::getInstance(); require_once DIR_CONFIG . 'ssb_library/admin/transliteration/transliteration.php'; $this->transliteration = transliteration::getInstance(); require_once DIR_CONFIG . 'ssb_library/glob_set.php'; $this->glob_set = glob_set::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); }
function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/ssb_helper.php'; $this->ssb_helper = ssb_helper::getInstance(); require_once DIR_CONFIG . 'ssb_library/ssb_data.php'; $this->ssb_data = ssb_data::getInstance(); require_once DIR_CONFIG . 'ssb_library/admin/generators/gen_helper.php'; $this->gen_helper = gen_helper::getInstance(); $sql = "SHOW INDEX FROM " . DB_PREFIX . "product_description WHERE Key_name='relatedProducts'"; $query = $this->db->query($sql); if (!count($query->rows)) { $this->db->query("ALTER TABLE " . DB_PREFIX . "product_description ENGINE = MYISAM;"); $this->db->query("CREATE FULLTEXT INDEX relatedProducts ON " . DB_PREFIX . "product_description (name, description);"); } }