프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$accountId | integer | The identifier of the client's account | |
$created | DateTime | Time when the record is created | |
$description | string | Description | |
$envId | integer | The identifier of the client's environment | |
$id | integer | ID | |
$name | string | Event's name |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor | |
getList ( integer $accountId, integer $envId ) : array | Gets the list of the events by specified criteria | |
getScope ( ) | ||
getUsed ( integer $accountId = null, integer $envId = null ) : array | false | Checks whether the Event exists | |
hasAccessPermissions ( $user, $environment = null, $modify = null ) | ||
isExist ( string $name, integer $accountId, integer $envId ) : boolean | Checks whether the event with the specified name exists |
public getUsed ( integer $accountId = null, integer $envId = null ) : array | false | ||
$accountId | integer | optional Identifier of the account |
$envId | integer | optional Identifier of the environment |
리턴 | array | false | Returns FALSE if the Event does not exist on account or Array otherwise. Array looks like ['rolesCount' => N, 'farmRolesCount' => M, 'webhooksCount' => Z, 'accountScriptsCount' => K] |
public hasAccessPermissions ( $user, $environment = null, $modify = null ) |