Cheetah
Public Member Functions | List of all members
ChSimpleMessengerPrivacy Class Reference
Inheritance diagram for ChSimpleMessengerPrivacy:
ChWsbPrivacy

Public Member Functions

 __construct (&$oModule)
 
 check ($sAction, $iObjectId, $iViewerId=0)
 
- Public Member Functions inherited from ChWsbPrivacy
 __construct ($sTable='', $sFieldId='', $sFieldOwnerId='')
 
 getGroupChooser ($iOwnerId, $sModuleUri, $sActionName, $aDynamicGroups=array(), $sTitle="")
 
 getFieldAction ($sAction)
 
 isDynamicGroupMember ($mixedGroupId, $iObjectOwnerId, $iViewerId, $iObjectId)
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbPrivacy
static isPrivacyPage ()
 
- Public Attributes inherited from ChWsbPrivacy
 $_oDb
 

Detailed Description

Definition at line 10 of file ChSimpleMessengerPrivacy.php.

Constructor & Destructor Documentation

◆ __construct()

ChSimpleMessengerPrivacy::__construct ( $oModule)

Constructor

Definition at line 15 of file ChSimpleMessengerPrivacy.php.

Member Function Documentation

◆ check()

ChSimpleMessengerPrivacy::check (   $sAction,
  $iObjectId,
  $iViewerId = 0 
)

Check whether the viewer can make requested action.

Parameters
string$sActionaction name from 'sys_priacy_actions' table.
integer$iObjectIdobject ID the action to be performed with.
integer$iViewerIdviewer ID.
Returns
boolean result of operation.

Reimplemented from ChWsbPrivacy.

Definition at line 28 of file ChSimpleMessengerPrivacy.php.


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