function __construct(&$aModule) { parent::__construct($aModule); $this->_sFilterName = 'bx_groups_filter'; $this->_sPrefix = 'bx_groups'; bx_import('Privacy', $aModule); $this->_oPrivacy = new BxGroupsPrivacy($this); $GLOBALS['oBxGroupsModule'] =& $this; }
/** * Constructor */ function __construct($aModule) { parent::__construct($aModule); $this->_oConfig->init($this->_oDb); $this->oPrivacy = new BxSitesPrivacy($this); $this->iOwnerId = isLogged() ? getLoggedId() : 0; $GLOBALS['oBxSitesModule'] =& $this; // BEGIN STW INTEGRATION $this->sHomeUrl = $this->_oConfig->getHomeUrl(); $this->sHomePath = $this->_oConfig->getHomePath(); $this->sModuleUrl = BX_DOL_Url_ROOT . $this->_oConfig->getBaseUri(); $sThumbSuffix = 'data/images/thumbs/'; $this->sThumbPath = $this->sHomePath . $sThumbSuffix; $this->sThumbUrl = $this->sHomeUrl . $sThumbSuffix; // END STW INTEGRATION }
function __construct(&$aModule) { parent::__construct($aModule); $this->_sFilterName = 'bx_store_filter'; $this->_sPrefix = 'bx_store'; bx_import('PrivacyProduct', $aModule); bx_import('PrivacyFile', $aModule); $this->_oPrivacyProduct = new BxStorePrivacyProduct($this); $this->_oPrivacyFile = new BxStorePrivacyFile($this); $GLOBALS['oBxStoreModule'] =& $this; }