protected function BeforeDelete()
    {
        foreach (self::$deleteHooks as $hook)
        {
            $hook->BeforeDelete($this->item);
        }
        $logger = new Logger(BackendModule::Guard()->GetUser());
        $logger->ReportAreaAction($this->item, Action::Delete());
    }
protected function BeforeDelete()
    {
        foreach (self::$deleteHooks as $hook)
        {
            $hook->BeforeDelete($this->item);
        }
        $logger = new Logger(BackendModule::Guard()->GetUser());
        $logger->ReportAreaAction($this->item, Action::Delete());
    }
protected function BeforeDelete ( ) { foreach ( self :: $ deleteHooks as $ hook ) { $ hook -> BeforeDelete ( $ this -> item ) ; } $ logger = new Logger ( BackendModule :: Guard ( ) -> GetUser ( ) ) ; $ logger -> ReportAreaAction ( $ this -> item , Action :: Delete ( ) ) ; }
Execute delete hooks
Execute delete hooks