function __construct(&$oPr, &$aSite, &$aDir)
 {
     $this->oProfileGen =& $oPr;
     $this->aConfSite = $aSite;
     $this->aConfDir = $aDir;
     parent::__construct('profile_private');
 }
Пример #2
0
 function __construct($sOwner, &$oWall)
 {
     $this->_sOwner = $sOwner;
     $this->_oWall =& $oWall;
     $this->oProfileGen = new BxBaseProfileGenerator(getId($sOwner, 0));
     $this->aConfSite = $GLOBALS['site'];
     $this->aConfDir = $GLOBALS['dir'];
     parent::__construct('wall');
 }
 /**
  * Class constructor ;
  */
 function __construct($sPageName, &$aMemberInfo)
 {
     global $site, $dir;
     $this->oProfileGen = new BxBaseProfileGenerator($aMemberInfo['ID']);
     $this->aConfSite = $site;
     $this->aConfDir = $dir;
     parent::__construct($sPageName);
     $this->iMemberID = getLoggedId();
     $this->aMemberInfo =& $aMemberInfo;
 }