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

Public Member Functions

 __clone ()
 
 id ()
 
 getDisplayName ()
 
 getUrl ()
 
 getUnit ($iProfileId=0, $aParams=array())
 
 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)
 
- Public Member Functions inherited from iBxDolProfile
 checkAllowedProfileView ()
 
 checkAllowedProfileContact ()
 
 checkAllowedPostInProfile ()
 

Static Public Member Functions

static getInstance ()
 

Protected Member Functions

 __construct ()
 

Detailed Description

When profile is not available (for example profile is deleted) then use this special class.

Example of usage

$oProfile = BxDolProfile::getInstance($iId);
if (!$oProfile)

Constructor & Destructor Documentation

◆ __construct()

BxDolProfileUndefined::__construct ( )
protected

Constructor

Member Function Documentation

◆ __clone()

BxDolProfileUndefined::__clone ( )

Prevent cloning the instance

◆ checkAllowedPostInProfile()

BxDolProfileUndefined::checkAllowedPostInProfile (   $iProfileId = 0)

◆ checkAllowedProfileContact()

BxDolProfileUndefined::checkAllowedProfileContact (   $iProfileId = 0)

◆ checkAllowedProfileView()

BxDolProfileUndefined::checkAllowedProfileView (   $iProfileId = 0)

◆ getAvatar()

BxDolProfileUndefined::getAvatar ( )

Get profile avatar

Implements iBxDolProfile.

◆ getAvatarBig()

BxDolProfileUndefined::getAvatarBig ( )

Get big (2x) avatar url

◆ getBadges()

BxDolProfileUndefined::getBadges ( )

Get badges

◆ getCover()

BxDolProfileUndefined::getCover ( )

Get profile cover

Implements iBxDolProfile.

◆ getDisplayName()

BxDolProfileUndefined::getDisplayName ( )

Get profile display name

Implements iBxDolProfile.

◆ getEditUrl()

BxDolProfileUndefined::getEditUrl ( )

Get profile edit url

Implements iBxDolProfile.

◆ getIcon()

BxDolProfileUndefined::getIcon ( )

Get profile icon

Implements iBxDolProfile.

◆ getIconModule()

BxDolProfileUndefined::getIconModule (   $iProfileId = 0)

Get module icon

◆ getInstance()

static BxDolProfileUndefined::getInstance ( )
static

Get singleton instance of the class

Implements iBxDolSingleton.

◆ getPicture()

BxDolProfileUndefined::getPicture ( )

Get picture url

Implements iBxDolProfile.

◆ getThumb()

BxDolProfileUndefined::getThumb ( )

Get profile thumb

Implements iBxDolProfile.

◆ getUnit()

BxDolProfileUndefined::getUnit (   $iProfileId = 0,
  $aParams = array() 
)

Get profile unit

◆ getUrl()

BxDolProfileUndefined::getUrl ( )

Get profile url

Implements iBxDolProfile.

◆ hasImage()

BxDolProfileUndefined::hasImage ( )

Check whether a profile has real image uploaded by user.

Implements iBxDolProfile.

◆ id()

BxDolProfileUndefined::id ( )

Get profile id

Implements iBxDolProfile.

◆ isActive()

BxDolProfileUndefined::isActive (   $iProfileId = false)

Check if profile is active

◆ isOnline()

BxDolProfileUndefined::isOnline (   $iProfileId = false)

Is profile online


The documentation for this class was generated from the following file: