function __construct($component = null) { parent::__construct($component); CModule::IncludeModule('iblock'); CModule::IncludeModule('aqw.shop'); CBitrixComponent::includeComponentClass('aqw:store.product'); }
public function __construct($component = null) { parent::__construct($component); \Bitrix\Main\Loader::includeModule("forum"); $this->componentId = $this->isAjaxRequest() ? randString(7) : $this->randString(); $this->errorCollection = new ErrorCollection(); }
public function __construct($component = null) { parent::__construct($component); $this->helper = new CCrmProductSectionCrumbsHelper(); $this->componentId = $this->randString(); $this->errors = array(); $this->catalogId = 0; $this->sectionId = 0; }
public function __construct($component = null) { parent::__construct($component); $this->scope = self::STATUS_SCOPE_WEB; if (is_callable(array('\\Bitrix\\MobileApp\\Mobile', 'getApiVersion')) && \Bitrix\MobileApp\Mobile::getApiVersion() >= 1 && defined("BX_MOBILE") && BX_MOBILE === true) { $this->scope = self::STATUS_SCOPE_MOBILE; } if ($this->isWeb()) { $this->setTemplateName(".default"); } else { $this->setTemplateName("mobile_app"); } }
public function __construct($component = null) { parent::__construct($component); \Bitrix\Main\Loader::includeModule("forum"); $this->componentId = $this->isAjaxRequest() ? randString(7) : $this->randString(); $this->errorCollection = new ErrorCollection(); $this->prepareMobileData = IsModuleInstalled("mobile"); $this->scope = self::STATUS_SCOPE_WEB; if (is_callable(array('\\Bitrix\\MobileApp\\Mobile', 'getApiVersion')) && \Bitrix\MobileApp\Mobile::getApiVersion() >= 1 && defined("BX_MOBILE") && BX_MOBILE === true) { $this->scope = self::STATUS_SCOPE_MOBILE; } self::$index++; if ($this->isWeb()) { $this->setTemplateName(".default"); } else { $this->setTemplateName("mobile_app"); } }
public function __construct($component = null) { parent::__construct($component); Localization\Loc::loadMessages(__FILE__); }
function __construct($component = null) { parent::__construct($component); CModule::IncludeModule('iblock'); CModule::IncludeModule('aqw.shop'); }
public function __construct($component = null) { parent::__construct($component); CPageOption::SetOptionString("main", "nav_page_in_session", "N"); $this->dateFormat = CSite::GetDateFormat("FULL", SITE_ID); Localization\Loc::loadMessages(__FILE__); }
public function __construct($component = null) { parent::__construct($component); $this->selectorItems = array(); $this->moduleIncluded = array(); }
public function __construct($component = null) { parent::__construct($component); $this->componentId = $this->isAjaxRequest() ? randString(7) : $this->randString(); $this->errorCollection = new ErrorCollection(); }
public function __construct($component = null) { parent::__construct($component); }
/** * Инициализирует родной битриксовый класс и готовит полезные переменные * BaseComponent constructor. * @param \CBitrixComponent|null $component */ public function __construct($component = null) { parent::__construct($component); /** @var \CMain $APPLICATION */ global $APPLICATION; $this->app = $APPLICATION; $this->reflection = new \ReflectionClass($this); }
public function __construct($component = null) { parent::__construct($component); $this->dateFormat = CSite::GetDateFormat("FULL", SITE_ID); Localization\Loc::loadMessages(__FILE__); }
/** * @param null $component */ public function __construct($component = null) { parent::__construct($component); /** @var $security get the class object */ $security = new Bitrix\Security\Filter\Request(); /** @var $security Set the audit SQL ejection and XSS attack */ $security->setAuditors(array('SQL' => new Bitrix\Security\Filter\Auditor\Sql(), 'XSS' => new Bitrix\Security\Filter\Auditor\Xss())); /** @var $arURI filtering incoming parameters. */ $this->uri = $security->filter(array('get' => $_GET, 'request' => $_REQUEST, 'post' => $_POST), false); }
public function __construct($component = null) { $this->bExcel = $_GET['excel'] == 'yes'; parent::__construct($component); }