class CPrivacy


Located at : UKNOWVA_ROOT/components/com_community/libraries/privacy.php

Methods

static 
isAccessAllowed($actorId, $targetId, $type, $userPrivacyParam)

Return true if actor have access to target's item

static 
getHTML($nameAttribute, $selectedAccess, $buttonType = COMMUNITY_PRIVACY_BUTTON_SMALL, $access = array())

No description

static 
getAccessLevel($actorId, $targetId)

No description

Details

at line 19
static isAccessAllowed($actorId, $targetId, $type, $userPrivacyParam)

Return true if actor have access to target's item

Parameters

$actorId
$targetId
$type
$userPrivacyParam

at line 56
static getHTML($nameAttribute, $selectedAccess, $buttonType = COMMUNITY_PRIVACY_BUTTON_SMALL, $access = array())

Parameters

$nameAttribute
$selectedAccess
$buttonType
$access

at line 78
static getAccessLevel($actorId, $targetId)

Parameters

$actorId
$targetId