public function onAfterWrite() {
		parent::onAfterWrite();
		if($this->_isCreating === true) {
			$this->_isCreating = false;
			$this->extend('onAfterCreate');
		}
	}
public function onAfterWrite() {
		parent::onAfterWrite();
		if($this->_isCreating === true) {
			$this->_isCreating = false;
			$this->extend('onAfterCreate');
		}
	}
public function onAfterWrite ( ) { parent :: onAfterWrite ( ) ; if ( $ this -> _isCreating === true ) { $ this -> _isCreating = false ; $ this -> extend ( 'onAfterCreate' ) ; } }
Add an extension point for afterCreate
Add an extension point for afterCreate