Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8d7bc0eb53
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.474 kB
<?php
/**
* @author Weavora Team <hello@weavora.com>
* @link http://weavora.com
* @copyright Copyright (c) 2011 Weavora LLC
*/
class WActiveRecord extends CActiveRecord {
// @todo any ideas how to prevent using custom event for that ?
public function onUnsafeAttribute($name, $value)
{
$event = new CEvent($this, array('name' => $name, 'value' => $value));
$this->raiseEvent('onUnsafeAttribute', $event);
return parent::onUnsafeAttribute($name, $value);
}
}
Jump to Line
Something went wrong with that request. Please try again.