UNA
Loading...
Searching...
No Matches
BxBaseAcl Class Reference
Inheritance diagram for BxBaseAcl:
BxDolAcl BxDolFactory iBxDolSingleton BxTemplAcl

Public Member Functions

 getProfileMembership ($iProfileId)
 GetMembershipStatus ($iProfileId, $bOfferUpgrade=true)
Public Member Functions inherited from BxDolAcl
 __clone ()
 getContentByLevelAsCondition ($sContentField, $mixedLevelId)
 getContentByLevelAsSQLPart ($sContentTable, $sContentField, $mixedLevelId)
 isMemberLevelInSet ($mixedPermissions, $iProfileId=false)
 getMemberLevelBit ($iProfileId=0)
 checkAction ($iProfileId, $iActionId, $bPerformAction=false)
 getActionNumberLeft ($iProfileId, $iActionId)
 getMemberships ($bPurchasableOnly=false, $bActiveOnly=false, $isTranslate=true, $bFilterOutSystemAutomaticLevels=false)
 getMembershipsBy ($aParams)
 getMembershipInfo ($iLevelId)
 getMemberMembershipInfo ($iProfileId, $iTime=0, $bClearCache=0)
 setMembership ($iProfileId, $iLevelId, $mixedPeriod=0, $bStartsNow=false, $sTransactionId='')
 unsetMembership ($iProfileId, $iLevelId, $sTransactionId)
 getMembershipActionId ($sAction, $sModule)
 getExpirationLetter ($iProfileId, $sLevelName, $iLevelExpireDays)
 maintenance ()
 onProfileDelete ($iProfileId)

Additional Inherited Members

Static Public Member Functions inherited from BxDolAcl
static getInstance ()
Protected Member Functions inherited from BxDolAcl
 getMemberMembershipInfoCurrent ($iProfileId, $iTime=0, $bClearCache=0)
 getMemberMembershipInfoLatest ($iProfileId, $iTime=0, $bClearCache=0)
Protected Attributes inherited from BxDolAcl
 $oDb
 $_aStandardMemberships
 $_aProfileStatus2LevelMap
 $_aLevel2MessageMap
Static Protected Attributes inherited from BxDolAcl
static $_aCacheData = array()

Detailed Description

Acl representation.

See also
BxDolAcl

Constructor & Destructor Documentation

◆ __construct()

BxBaseAcl::__construct ( )

Reimplemented from BxDolAcl.

Member Function Documentation

◆ GetMembershipStatus()

BxBaseAcl::GetMembershipStatus ( $iProfileId,
$bOfferUpgrade = true )

Print code for membership status $iProfileId - ID of profile $offer_upgrade - will this code be printed at [c]ontrol [p]anel

◆ getProfileMembership()

BxBaseAcl::getProfileMembership ( $iProfileId)

Hooks:

'system', 'page_output_block_acl_level' - hook to override profile membership page block

  • $unit_name - equals system
  • $action - equals page_output_block_acl_level
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:
    • block_owner - [int] profile id to show membership level for
    • block_code - [string] by ref, block code, can be overridden in hook processing
HOOKS
'system', 'page_output_block_acl_level' - hook to override profile membership page block

The documentation for this class was generated from the following file:
  • template/scripts/BxBaseAcl.php