filters\AccessControl $denyCallback

$denyCallback public property

A callback that will be called if the access should be denied to the current user. If not set, denyAccess() will be called.

The signature of the callback should be as follows:

function ($rule, $action)

where $rule is the rule that denies the user, and $action is the current action object. $rule can be null if access is denied because none of the rules matched.

public callable $denyCallback = null
doc_Yii
2016-10-30 17:02:20
Comments
Leave a Comment

Please login to continue.