getValue() protected method
Returns the value for the current attributes.
This method is called by evaluateAttributes(). Its return value will be assigned to the attributes corresponding to the triggering event.
In case, when the $value is null
, the result of the PHP function time() will be used as value.
protected mixed getValue ( $event ) | ||
---|---|---|
$event | yii\base\Event |
The event that triggers the current attribute updating. |
return | mixed |
The attribute value |
Please login to continue.