public function save()
	{
		if ($this->hasEventHandler('onBeforeSave')) {
			$this->onBeforeSave(new CEvent($this));
		}
		$this->flush();
		if ($this->hasEventHandler('onAfterSave')) {
			$this->onAfterSave(new CEvent($this));
		}
	}
public function save()
	{
		if ($this->hasEventHandler('onBeforeSave')) {
			$this->onBeforeSave(new CEvent($this));
		}
		$this->flush();
		if ($this->hasEventHandler('onAfterSave')) {
			$this->onAfterSave(new CEvent($this));
		}
	}
public function save ( ) { if ( $ this -> hasEventHandler ( 'onBeforeSave' ) ) { $ this -> onBeforeSave ( new CEvent ( $ this ) ) ; } $ this -> flush ( ) ; if ( $ this -> hasEventHandler ( 'onAfterSave' ) ) { $ this -> onAfterSave ( new CEvent ( $ this ) ) ; } }
Saves registry data to the file
Saves registry data to the file