mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 17:48:37 +08:00
Added links to PHP.net to apidoc
This commit is contained in:
@@ -54,7 +54,7 @@ use yii\base\ActionFilter;
|
||||
class AccessControl extends ActionFilter
|
||||
{
|
||||
/**
|
||||
* @var callback a callback that will be called if the access should be denied
|
||||
* @var callable 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:
|
||||
|
||||
@@ -61,7 +61,7 @@ class AccessRule extends Component
|
||||
*/
|
||||
public $verbs;
|
||||
/**
|
||||
* @var callback a callback that will be called to determine if the rule should be applied.
|
||||
* @var callable a callback that will be called to determine if the rule should be applied.
|
||||
* The signature of the callback should be as follows:
|
||||
*
|
||||
* ~~~
|
||||
@@ -73,7 +73,7 @@ class AccessRule extends Component
|
||||
*/
|
||||
public $matchCallback;
|
||||
/**
|
||||
* @var callback a callback that will be called if this rule determines the access to
|
||||
* @var callable a callback that will be called if this rule determines the access to
|
||||
* the current action should be denied. If not set, the behavior will be determined by
|
||||
* [[AccessControl]].
|
||||
*
|
||||
|
||||
@@ -46,7 +46,7 @@ use yii\base\Action;
|
||||
class HttpCache extends ActionFilter
|
||||
{
|
||||
/**
|
||||
* @var callback a PHP callback that returns the UNIX timestamp of the last modification time.
|
||||
* @var callable a PHP callback that returns the UNIX timestamp of the last modification time.
|
||||
* The callback's signature should be:
|
||||
*
|
||||
* ~~~
|
||||
@@ -58,7 +58,7 @@ class HttpCache extends ActionFilter
|
||||
*/
|
||||
public $lastModified;
|
||||
/**
|
||||
* @var callback a PHP callback that generates the Etag seed string.
|
||||
* @var callable a PHP callback that generates the Etag seed string.
|
||||
* The callback's signature should be:
|
||||
*
|
||||
* ~~~
|
||||
|
||||
Reference in New Issue
Block a user