__construct() public method

public __construct ( &$aModule )
Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 /**
  * 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
 }
Ejemplo n.º 3
0
 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;
 }