Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__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 |
return | 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 ) |
public int $accountId | ||
return | integer |
public DateTime $created | ||
return | DateTime |
public int $envId | ||
return | integer |