base\Model onUnsafeAttribute()

onUnsafeAttribute() public method

This method is invoked when an unsafe attribute is being massively assigned.

The default implementation will log a warning message if YII_DEBUG is on. It does nothing otherwise.

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

The unsafe attribute name

$value mixed

The attribute value

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

Please login to continue.