Example #1
0
 /**
  * Add page tree watcher registering
  */
 public function postDelete($event)
 {
     parent::postDelete($event);
     if (!$this instanceof dmPage && $this->getDmModule() && $this->getDmModule()->getOption('has_security', false)) {
         $this->getService('record_security_manager')->manage('delete', $this);
     }
     $this->notify('delete');
 }
Example #2
0
 /**
  * Add page tree watcher registering
  */
 public function postDelete($event)
 {
     parent::postDelete($event);
     $this->notify('delete');
 }