public function __construct() { $this->auth = false; parent::__construct(); $this->context = Context::getContext(); include_once $this->module->getLocalPath() . 'stripejs.php'; }
public function __construct() { parent::__construct(); $this->ssl = true; $this->display_column_left = false; $this->display_column_right = false; }
public function __construct() { parent::__construct(); if ($this->ajax) { $this->content_only = true; } }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); $aResponse['error'] = false; $aResponse['message'] = ''; if (isset($_POST['action'])) { $id_video = $_POST['idBox']; $ratting = $_POST['rate']; if (VideosRatting::checkRatting($id_video)) { $videosRatting = new VideosRatting(); $videosRatting->add(array('id_video' => $id_video, 'ratting' => $ratting)); $aResponse['error'] = FALSE; $aResponse['message'] = 'Your rate has been successfuly recorded. Thanks for your rate'; } else { $aResponse['error'] = true; $aResponse['message'] = 'Your have rated for images'; } } else { $aResponse['error'] = true; $aResponse['message'] = 'An error occured during the request. Please retry'; } echo json_encode($aResponse); die; }
public function __construct() { parent::__construct(); // Hide columns $this->display_column_left = false; $this->display_column_right = false; }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); //include_once($this->module->getLocalPath().'WishList.php'); include_once $this->module->getLocalPath() . 'simplecategory.php'; }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); $this->ssl = true; include_once $this->module->getLocalPath() . 'WishList.php'; }
public function __construct() { $this->display_column_left = false; $this->display_column_right = false; parent::__construct(); $this->context = Context::getContext(); }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); include_once dirname(__FILE__) . '/../../classes/LofBlock.php'; include_once dirname(__FILE__) . '/../../classes/LofItem.php'; include_once dirname(__FILE__) . '/../../lofadvancecustom.php'; }
public function __construct() { parent::__construct(); $this->themeName = Context::getContext()->shop->getTheme(); $this->img_path = _PS_ALL_THEMES_DIR_ . $this->themeName . '/img/modules/' . $this->_nameModule . '/'; $this->img_url = __PS_BASE_URI__ . 'themes/' . $this->themeName . '/img/modules/' . $this->_nameModule . '/'; include_once $this->module->getLocalPath() . $this->_nameModule . '.php'; }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); include_once $this->module->getLocalPath() . 'LoyaltyModule.php'; include_once $this->module->getLocalPath() . 'LoyaltyStateModule.php'; // Declare smarty function to render pagination link smartyRegisterFunction($this->context->smarty, 'function', 'summarypaginationlink', array('LoyaltyDefaultModuleFrontController', 'getSummaryPaginationLink')); }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); $columns = Context::getContext()->theme->hasColumns('index'); $this->display_column_left = $columns['left_column']; $this->display_column_right = $columns['right_column']; include_once $this->module->getLocalPath() . 'iqitcontentcreator.php'; }
public function __construct() { parent::__construct(); $this->pfConfig = Payfort_Fort_Config::getInstance(); $this->pfHelper = Payfort_Fort_Helper::getInstance(); $this->pfPayment = Payfort_Fort_Payment::getInstance(); if (session_id() == '') { session_start(); } }
/** * @inheritdoc */ public function __construct() { parent::__construct(); if (($limit = Tools::getValue('limit')) !== false && !empty($limit)) { $this->limit = (int) $limit; } if (($offset = Tools::getValue('offset')) !== false && !empty($offset)) { $this->offset = (int) $offset; } }
public function __construct() { $this->controller_type = 'modulefront'; $this->module = Module::getInstanceByName(Tools::getValue('module')); if (!$this->module->active) { Tools::redirect('index'); } $this->page_name = 'module-' . $this->module->name . '-' . Dispatcher::getInstance()->getController(); parent::__construct(); }
public function __construct($type = null) { parent::__construct(); if ($type != 'byepass') { if (Configuration::get('PWAPRESTA_PWAPRESTA_ORDER_UPDATE_API') == 'IOPN') { echo "Kindly enable MWS in plugin setting"; exit; } $this->context = Context::getContext(); } }
/** * Prepares environment for all Dotpay controllers */ public function __construct() { parent::__construct(); $this->config = new DotpayConfig(); $this->initPersonalData(); if ($this->config->getDotpayApiVersion() == 'legacy') { $this->api = new DotpayLegacyApi($this); } else { $this->api = new DotpayDevApi($this); } $this->module->registerFormHelper(); }
/** * Initialise the object variables */ public function __construct() { parent::__construct(); $this->oPrediggoConfig = new PrediggoConfig($this->context); if (!$this->oPrediggoConfig->search_active) { Tools::redirect('index.php'); } $this->sRepositoryPath = _PS_MODULE_DIR_ . 'prediggo/logs/'; $this->oPrediggoCall = new PrediggoCall($this->oPrediggoConfig->web_site_id, $this->oPrediggoConfig->server_url_search); $this->sQuery = Tools::getValue('q'); $this->sRefineOption = Tools::getValue('refineOption'); }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); $this->instant_search = Tools::getValue('instantSearch'); $this->display_column_left = true; $this->display_column_right = false; $this->ajax_search = Tools::getValue('ajax_Search'); if ($this->instant_search || $this->ajax_search) { $this->display_header = false; $this->display_footer = false; } }
public function __construct() { parent::__construct(); $url = 'index.php?fc=module&module=yousticeresolutionsystem&controller=yrs'; $this->url_yrs = '//' . Tools::getShopDomainSsl() . __PS_BASE_URI__ . $url; $yapi = $this->createSDK(); //at logged out reporting $this->authenticateUser(); $yapi->setUserId($this->customer_id); $yapi->run(); $this->yapi = $yapi; $this->parseActions(); }
public function __construct() { parent::__construct(); if (Tools::getValue('ajaxMode')) { $this->ajax = true; $this->display_column_left = false; $this->display_column_right = false; $this->display_header = false; $this->display_footer = false; } if (version_compare(_PS_VERSION_, '1.5.0.0', '>=')) { $this->context = Context::getContext(); } else { $this->context = (object) null; } }
public function __construct() { $this->controller_type = 'modulefront'; $this->module = Module::getInstanceByName(Tools::getValue('module')); if (!$this->module->active) { Tools::redirect('index'); } $this->page_name = 'module-' . $this->module->name . '-' . Dispatcher::getInstance()->getController(); parent::__construct(); header('Content-Type: application/javascript'); $cookiestring = Tools::getValue('c'); if ($cookiestring != '') { if (isset($this->context->cookie->{$cookiestring})) { echo AmzPayments::prepareCookieValueForAmazonPaymentsUse($this->context->cookie->{$cookiestring}); } } exit; }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); $this->module = Module::getInstanceByName('lgconsultas'); }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); $this->template_path = _PS_MODULE_DIR_ . 'leoblog/views/templates/front/'; }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); }
/** * * -- */ public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->context = Context::getContext(); $this->conf = Psnews::getPreferences(); }
public function __construct() { parent::__construct(); $this->helper = new InvipaypaygateHelper(); }
public function __construct() { parent::__construct(); $this->helper = new InvipaypaygateHelper(); $this->display_column_left = false; }
public function __construct() { parent::__construct(); $this->host = Tools::getHttpHost(); }