db\BaseActiveRecord setOldAttribute()

setOldAttribute() public method

Sets the old value of the named attribute.

See also hasAttribute().

public void setOldAttribute ( $name, $value )
$name string

The attribute name

$value mixed

The old attribute value.

throws yii\base\InvalidParamException

if the named attribute does not exist.

doc_Yii
2016-10-30 16:56:55
Comments
Leave a Comment

Please login to continue.