You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 7 Next »
This server class provides methods that allow you to interact with delegation records.
This method returns an array of delegates.
Parameter(s):
Returns:
Example:
public function getDelegatesOfType( string $type, int $delegatorId, SimpleDateTimeInterface $fromDateTime = null, SimpleDateTimeInterface $toDateTime = null ): array;
This method returns an array of the employees who delegated authority.
public function getDelegatorsOfType( string $type, int $delegateId, SimpleDateTimeInterface $fromDateTime = null, SimpleDateTimeInterface $toDateTime = null ): array;
This method returns true if there is a specific delegation record.
public function hasDelegationOfType( string $type, array $delegatorIds, int $delegateId, SimpleDateTimeInterface $fromDateTime = null, SimpleDateTimeInterface $toDateTime = null ): bool;