UNA
BxDolProfileAnonymous Class Reference
Inheritance diagram for BxDolProfileAnonymous:
BxDolProfileUndefined BxDolFactory iBxDolSingleton iBxDolProfile

Public Member Functions

 getDisplayName ()
 getUrl ()
 setShowRealProfile ($bValue)
Public Member Functions inherited from BxDolProfileUndefined
 __clone ()
 id ()
 getUnit ($iProfileId=0, $aParams=array())
 getUnitAPI ($iProfileId=0, $aParams=[])
 getBadges ()
 hasImage ()
 getPicture ()
 getAvatarBig ()
 getAvatar ()
 getCover ()
 getThumb ()
 getIcon ()
 getIconModule ($iProfileId=0)
 getEditUrl ()
 checkAllowedProfileView ($iProfileId=0)
 checkAllowedProfileContact ($iProfileId=0)
 checkAllowedPostInProfile ($iProfileId=0)
 isActive ($iProfileId=false)
 isOnline ($iProfileId=false)
 getStatus ($iProfileId=false)
 getModule ($iProfileId=false)
Public Member Functions inherited from iBxDolProfile
 getUnit ()
 getIconModule ()
 isActive ()
 isOnline ()
 getStatus ()
 getModule ()
 checkAllowedProfileView ()
 checkAllowedProfileContact ()
 checkAllowedPostInProfile ()

Static Public Member Functions

static getInstance ($mixedProfileId=false, $bClearCache=false)
Static Public Member Functions inherited from BxDolProfileUndefined
static getInstance ()

Protected Member Functions

 __construct ($oProfile)
 isShowRealProfile ()
Protected Member Functions inherited from BxDolProfileUndefined
 __construct ()

Protected Attributes

 $_oProfileOrig = null
 $_iProfileID = 0
 $_isShowRealProfile = null

Detailed Description

When profile is anonymous then use this special class.

Example of usage

if (0 > $iId)
else
$oProfile = BxDolProfile::getInstance($iId);
static getInstance($mixedProfileId=false, $bClearCache=false)
Definition BxDolProfileAnonymous.php:47
static getInstance($mixedProfileId=false, $bClearCache=false)
Definition BxDolProfile.php:115

Constructor & Destructor Documentation

◆ __construct()

BxDolProfileAnonymous::__construct ( $oProfile)
protected

Constructor

Member Function Documentation

◆ getDisplayName()

BxDolProfileAnonymous::getDisplayName ( )

Get profile display name

Reimplemented from BxDolProfileUndefined.

◆ getInstance()

BxDolProfileAnonymous::getInstance ( $mixedProfileId = false,
$bClearCache = false )
static

Get singleton instance of Profile by profile id

◆ getUrl()

BxDolProfileAnonymous::getUrl ( )

Get profile url

Reimplemented from BxDolProfileUndefined.


The documentation for this class was generated from the following file:
  • inc/classes/BxDolProfileAnonymous.php