class Checker (View source)

Properties

int|null|false $error

The ID of an error (if not falsy), of false|null if no errors.

protected Response|null $response

Methods

__construct(ObjectInterface|null|false $object = false)

No description

array|object|int
__call(string $f, array $a)

We take any permissions function run on the permissions class and send it into the category object.

bool
isError()

Checks to see if there is a fatal error with this particular permission call.

int|null|false
getError()

Returns the error code if there is one.

Response|null
getResponseObject()

No description

Details

__construct(ObjectInterface|null|false $object = false)

No description

Parameters

ObjectInterface|null|false $object

array|object|int __call(string $f, array $a)

We take any permissions function run on the permissions class and send it into the category object.

Parameters

string $f

The method name

array $a

The method arguments

Return Value

array|object|int

bool isError()

Checks to see if there is a fatal error with this particular permission call.

Return Value

bool

int|null|false getError()

Returns the error code if there is one.

Return Value

int|null|false

private ObjectInterface getOriginalObject()

Legacy.

Return Value

ObjectInterface

Response|null getResponseObject()

No description

Return Value

Response|null