AdobeConnectClient\Entities\Permission
Adobe Connect Permission
See
Synopsis
class Permission
implements
ArrayableInterface
{
- // constants
- const MEETING_PRINCIPAL_PUBLIC_ACCESS = 'public-access';
- const MEETING_ANYONE_WITH_URL = 'view-hidden';
- const MEETING_PROTECTED = 'remove';
- const MEETING_PRIVATE = 'denied';
- const RECORDING_PUBLIC = 'view';
- const PRINCIPAL_VIEW = 'view';
- const PRINCIPAL_HOST = 'host';
- const PRINCIPAL_MINI_HOST = 'mini-host';
- const PRINCIPAL_REMOVE = 'remove';
- const PRINCIPAL_PUBLISH = 'publish';
- const PRINCIPAL_MANAGE = 'manage';
- const PRINCIPAL_DENIED = 'denied';
- // members
- protected $aclId = NULL;
- protected $permissionId = NULL;
- protected int|string $principalId = NULL;
- // methods
- public static Permission instance()
- public int getAclId()
- public string getPermissionId()
- public int|string getPrincipalId()
- public Permission setAclId()
- public Permission setPermissionId()
- public Permission setPrincipalId()
- // Inherited methods from Arrayable
- public array toArray()
Hierarchy
Coverage
Methods | 0% | 0 / 7 |
Lines | 0% | / |
Constants
Name | Value |
---|---|
MEETING_PRINCIPAL_PUBLIC_ACCESS | 'public-access' |
MEETING_ANYONE_WITH_URL | 'view-hidden' |
MEETING_PROTECTED | 'remove' |
MEETING_PRIVATE | 'denied' |
RECORDING_PUBLIC | 'view' |
PRINCIPAL_VIEW | 'view' |
PRINCIPAL_HOST | 'host' |
PRINCIPAL_MINI_HOST | 'mini-host' |
PRINCIPAL_REMOVE | 'remove' |
PRINCIPAL_PUBLISH | 'publish' |
PRINCIPAL_MANAGE | 'manage' |
PRINCIPAL_DENIED | 'denied' |
Members
protected
- $aclId
—
int
ACL (Access Control List) ID. Usually a SCO ID or Principal ID. - $permissionId — string
- $principalId
—
AdobeConnectClient\Entities\int|string
Normally is int, but in special cases is string using the MEETING_* constants
Methods
public
- getAclId() — Get the ACL ID.
- getPermissionId() — Get the Permission ID.
- getPrincipalId() — The Principal ID or Special Permission using MEETING_* constants
- instance() — Returns a new Permission instance
- setAclId() — Set the ACL ID. It is a SCO ID or Principal ID.
- setPermissionId() — The Permission ID.
- setPrincipalId() — Set the Principal ID.
Inherited from AdobeConnectClient\Traits\Arrayable
public
- toArray() — Retrieves all not null attributes in an associative array