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 |
Please login to continue.