function __construct($aModule) { parent::__construct($aModule); $this->_aPrefixes = array(); $this->_aJsClass = array(); $this->_aJsObjects = array(); $this->_aGridObjects = array(); }
function __construct($aModule) { parent::__construct($aModule); $this->aJsClasses = array('polyglot' => 'BxDevPolyglot'); $this->aJsObjects = array('polyglot' => 'oBxDevPolyglot'); $this->sAnimationEffect = 'fade'; $this->iAnimationSpeed = 'slow'; }
/** * Constructor */ function __construct($aModule) { parent::__construct($aModule); $this->sDomainMask = '%s.online.me'; $this->aJsClasses = array('main' => 'BxSitesMain'); $this->aJsObjects = array('main' => 'oSitesMain'); $this->sAnimationEffect = 'fade'; $this->iAnimationSpeed = 'slow'; $this->aPeriodConverter = array('Day' => 86400, 'Week' => 604800, 'SemiMonth' => 1296000, 'Month' => 2592000, 'Year' => 31536000); }
function __construct($aModule) { parent::__construct($aModule); $this->_aSystemNames = array('alert' => $this->_sName); $this->_aPrefixes = array(); $this->_aObjects = array('conn_subscriptions' => 'sys_profiles_subscriptions'); $this->_aHandlerDescriptor = array(); $this->_sHandlersMethod = ''; $this->_aHandlersHidden = array(); $this->_aHandlers = array(); $this->_aJsClass = array(); $this->_aJsObjects = array(); $this->_aPerPage = array(); $this->_aHtmlIds = array(); $this->_sAnimationEffect = 'fade'; $this->_iAnimationSpeed = 'slow'; $this->_iPrivacyViewDefault = BX_DOL_PG_ALL; }
function __construct($aModule) { parent::__construct($aModule); }
/** * Check whether code is associated with active template. * * @param string $sCode template's unique URI. * @param boolean $bSetCookie save code in COOKIE or not. */ protected function _checkCode($sCode, $bSetCookie) { if (empty($sCode) || !preg_match('/^[A-Za-z0-9_-]+$/', $sCode)) { return; } bx_import('BxDolModuleQuery'); $aModule = BxDolModuleQuery::getInstance()->getModuleByUri($sCode); if (empty($aModule) || !is_array($aModule) || (int) $aModule['enabled'] != 1 || !file_exists($this->_sRootPath . 'modules/' . $aModule['path'] . 'data/template/')) { return; } bx_import('BxDolModuleConfig'); $oConfig = new BxDolModuleConfig($aModule); $this->_sCode = $oConfig->getUri(); $this->_sSubPath = $oConfig->getDirectory(); if (!$bSetCookie || bx_get('preview')) { return; } $aUrl = parse_url(BX_DOL_URL_ROOT); $sPath = isset($aUrl['path']) && !empty($aUrl['path']) ? $aUrl['path'] : '/'; setcookie($this->_sCodeKey, $this->_sCode, time() + 60 * 60 * 24 * 365, $sPath); }
public function __construct($aModule) { parent::__construct($aModule); $this->restoreAntispamOptions(); }
/** * Constructor */ public function __construct($aModule) { parent::__construct($aModule); $this->_sAlertSystemName = $this->_sName; $this->_sEmail = ''; }