UNA
Loading...
Searching...
No Matches
BxMarketPrivacy Class Reference
Inheritance diagram for BxMarketPrivacy:
BxTemplPrivacy BxBasePrivacy BxDolPrivacy BxDolFactory iBxDolFactoryObject

Public Member Functions

 __construct ($aOptions, $oTemplate=false)
 
 isDynamicGroupMember ($mixedGroupId, $iObjectOwnerId, $iViewerId, $iObjectId)
 
- Public Member Functions inherited from BxBasePrivacy
 getJsObjectName ()
 
 getJsScript ($sCodeAdd='', $bDynamicMode=false)
 
 addCssJs ($bDynamicMode=false)
 
- Public Member Functions inherited from BxDolPrivacy
 actionLoadGroupCustom ()
 
 actionSelectMembers ()
 
 actionSelectMemberships ()
 
 actionUsersList ()
 
 getGroupSettings ($iGroup)
 
 isGroupsCustom ()
 
 getGroupsBy ($aParams)
 
 getGroupCustom ($aParams)
 
 updateGroupCustom ($aParamsSet, $aParamsWhere)
 
 deleteGroupCustom ($aParamsWhere)
 
 associateGroupCustomWithContent ($iProfileId, $iContentId, $iGroupId)
 
 reassociateGroupCustomWithContent ($iProfileId, $iContentId, $iGroupId)
 
 deleteGroupCustomByContentId ($iContentId)
 
 deleteGroupCustomByProfileId ($iProfileId)
 
 addDynamicGroups ($aValues, $iOwnerId, $aParams)
 
 addSpaces ($aValues, $iOwnerId, $aParams)
 
 getContentByGroupAsCondition ($mixedGroupId)
 
 getContentPublicAsCondition ($iProfileIdOwner=0, $aCustomGroups=array())
 
 getContentByGroupAsSQLPart ($mixedGroupId)
 
 getContentPublicAsSQLPart ($iProfileIdOwner=0, $aCustomGroups=array())
 
 getContentPublicAndInContextAsSQLPart ($iProfileIdOwner=0, $aCustomGroups=[], $aCustomContexts=[])
 
 check ($iObjectId, $iViewerId=0)
 
 checkSpace ($aObject, $iViewerId)
 
 checkMeOnly ($iOwnerId, $iViewerId)
 
 checkPublic ($iOwnerId, $iViewerId)
 
 checkMembers ($iOwnerId, $iViewerId)
 
 checkFriends ($iOwnerId, $iViewerId)
 
 checkFriendsSelectedByObject ($aObject, $iViewerId)
 
 checkRelations ($iOwnerId, $iViewerId)
 
 checkRelationsSelectedByObject ($aObject, $iViewerId)
 
 checkMembershipsSelectedByObject ($aObject, $iViewerId)
 
 checkCustomByObject ($aObject, $iViewerId)
 
 setTableFieldAuthor ($sValue)
 
 isAllowedRelations ($iUserId)
 
 isAllowedMemberships ($iUserId)
 

Protected Attributes

 $MODULE
 
 $_oModule
 
- Protected Attributes inherited from BxBasePrivacy
 $_oTemplate
 
 $_sJsObjClass
 
 $_sJsObjName
 
 $_aHtmlIds
 
- Protected Attributes inherited from BxDolPrivacy
 $_oDb
 
 $_sObject
 
 $_aObject
 
 $_aGroupsSettings
 
 $_aGroupsExclude
 
 $_sFormGroupCustom
 
 $_sFormDisplayGcMembers
 
 $_sFormDisplayGcMemberships
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolPrivacy
static getObjectInstance ($sObject)
 
static getGroupChooser ($sObject, $iOwnerId=0, $aParams=array())
 
static initGroupChooser ($sObject, $iOwnerId=0, $aParams=array())
 
static getIcon ($iVisibility)
 
static getFieldName ($sObject, $sAction='')
 
- Protected Member Functions inherited from BxBasePrivacy
 getSelectGroup ($aValues=array(), $aParams=array())
 
 getSelectMemberships ($aValues=array(), $aParams=array())
 
 getLoadGroupCustom ($iProfileId, $iContentId, $iGroupId, $aHtmlIds)
 
- Protected Member Functions inherited from BxDolPrivacy
 __construct ($aObject)
 
 getObjectInfo ($sAction, $iObjectId)
 
 getPrivacyGroupsForContentPublic ($iProfileIdOwner=0, $aCustomGroups=array())
 
 getCheckMethod ($s)
 
 convertActionToField ($sAction)
 
 getGroups ($iOwnerId=0, $aParams=[])
 
 isSelectGroupCustomUsers ($aParams)
 
 isSelectGroupCustomMemberships ($aParams)
 
 _check ($iObjectId, $iViewerId, $aObject)
 

Constructor & Destructor Documentation

◆ __construct()

BxMarketPrivacy::__construct (   $aOptions,
  $oTemplate = false 
)

Reimplemented from BxTemplPrivacy.

Member Function Documentation

◆ isDynamicGroupMember()

BxMarketPrivacy::isDynamicGroupMember (   $mixedGroupId,
  $iObjectOwnerId,
  $iViewerId,
  $iObjectId 
)

Check whethere viewer is a member of dynamic group.

Parameters
mixed$mixedGroupIddynamic group ID.
integer$iObjectOwnerIdobject owner ID.
integer$iViewerIdviewer ID.
Returns
boolean result of operation.

Reimplemented from BxDolPrivacy.


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