Example #1
0
 public function delete()
 {
     $this->message()->delete();
     parent::delete();
 }
Example #2
0
 public function saveChanges($validate = false, $processAll = false, $failFirst = false)
 {
     EventManager::trigger(Events::RANGE_SAVE_CHANGES_START);
     parent::saveChanges($validate, $processAll, $failFirst);
     EventManager::trigger(Events::RANGE_SAVE_CHANGES_END);
 }
Example #3
0
 public function saveChanges()
 {
     EventManager::trigger(Events::RANGE_SAVE_CHANGES_START);
     parent::saveChanges();
     EventManager::trigger(Events::RANGE_SAVE_CHANGES_END);
 }