mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +08:00
@ -331,7 +331,8 @@ the method/function is:
|
|||||||
/**
|
/**
|
||||||
* @param string $attribute the attribute currently being validated
|
* @param string $attribute the attribute currently being validated
|
||||||
* @param mixed $params the value of the "params" given in the rule
|
* @param mixed $params the value of the "params" given in the rule
|
||||||
* @param \yii\validators\InlineValidator related InlineValidator instance
|
* @param \yii\validators\InlineValidator related InlineValidator instance.
|
||||||
|
* This parameter is available since version 2.0.11.
|
||||||
*/
|
*/
|
||||||
function ($attribute, $params, $validator)
|
function ($attribute, $params, $validator)
|
||||||
```
|
```
|
||||||
|
|||||||
@ -35,7 +35,7 @@ class InlineValidator extends Validator
|
|||||||
*
|
*
|
||||||
* - `$attribute` is the name of the attribute to be validated;
|
* - `$attribute` is the name of the attribute to be validated;
|
||||||
* - `$params` contains the value of [[params]] that you specify when declaring the inline validation rule;
|
* - `$params` contains the value of [[params]] that you specify when declaring the inline validation rule;
|
||||||
* - `$validator` is a reference to related [[InlineValidator]] object.
|
* - `$validator` is a reference to related [[InlineValidator]] object. This parameter is available since version 2.0.11.
|
||||||
*/
|
*/
|
||||||
public $method;
|
public $method;
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user