RecordAddAccess
final class RecordAddAccess (View source)
Whether a user may add records to a zone directly, as RecordAddService::open() answers it. Each add-record entry point words the refusal codes itself.
Constants
| OK |
|
| ZONE_NOT_FOUND |
|
| REQUIRES_APPROVAL |
|
| FORBIDDEN |
|
Methods
static RecordAddAccess
granted(string $zoneName, string $zoneType)
No description
static RecordAddAccess
zoneNotFound()
No description
static RecordAddAccess
refused(string $code, string $zoneName, string $zoneType)
No description
bool
isGranted()
No description
Details
static RecordAddAccess
granted(string $zoneName, string $zoneType)
No description
static RecordAddAccess
zoneNotFound()
No description
static RecordAddAccess
refused(string $code, string $zoneName, string $zoneType)
No description
bool
isGranted()
No description