void addPermissionToSession(
$entityId
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::addPermissionToSession |
void convertBitsToIds(
$permissionBits, [
$compress = false]
)
|
|
Parameters:
|
$permissionBits: |
|
|
$compress: |
|
API Tags:
See: | GalleryCoreApi::convertPermissionBitsToIds |
void convertIdsToBits(
$permissionIds
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::convertPermissionIdsToBits |
void fetchAccessListIds(
$permission,
$userId, [
$sessionPermissions = true]
)
|
|
Parameters:
|
$permission: |
|
|
$userId: |
|
|
$sessionPermissions: |
|
API Tags:
See: | GalleryCoreApi::fetchAccessListIds |
void fetchPermissionsForItems(
$itemIds, [
$userId = null], [
$sessionPermissions = true]
)
|
|
Parameters:
|
$itemIds: |
|
|
$userId: |
|
|
$sessionPermissions: |
|
API Tags:
See: | GalleryCoreApi::fetchPermissionsForItems |
void getPermissions(
$itemId, [
$userId = null], [
$sessionPermissions = true]
)
|
|
Parameters:
|
$itemId: |
|
|
$userId: |
|
|
$sessionPermissions: |
|
API Tags:
See: | GalleryCoreApi::getPermissions |
void studyPermissions(
$itemIds, [
$userId = null], [
$sessionPermissions = true]
)
|
|
Parameters:
|
$itemIds: |
|
|
$userId: |
|
|
$sessionPermissions: |
|
API Tags:
See: | GalleryCoreApi::studyPermissions |
void _clearCachedAccessListIds(
)
|
|
Clear all cached access list ids
API Tags:
void _fetchAccessListIds(
$permission,
$userId, [
$sessionPermissions = true]
)
|
|
Like GalleryCoreApi::fetchAccessListIds but only processes a single permission id
Parameters:
|
$permission: |
|
|
$userId: |
|
|
$sessionPermissions: |
|
API Tags:
array _fetchAllPermissions(
)
|
|
Return a list of all available permissions
API Tags:
Return: | GalleryStatus a status code array ('permission' => array('module' => ..., 'permission' => ..., 'description' => ..., 'bits' => ..., 'flags' => ...) ...) |
Access: | protected |