Remove AFTER_DISPLAY_PAGE Event

This commit is contained in:
Eric Espie
2022-06-02 17:23:07 +02:00
parent 4c31081de2
commit 86a2db7e7f
10 changed files with 0 additions and 30 deletions

View File

@@ -17,8 +17,6 @@ use Combodo\iTop\Application\UI\Base\Layout\iUIContentBlock;
use Combodo\iTop\Application\UI\Base\Layout\UIContentBlock;
use Combodo\iTop\Renderer\BlockRenderer;
use Combodo\iTop\Renderer\Console\ConsoleBlockRenderer;
use Combodo\iTop\Service\EventData;
use Combodo\iTop\Service\EventService;
/**
@@ -1346,19 +1344,9 @@ JS;
if (class_exists('DBSearch')) {
DBSearch::RecordQueryTrace();
}
$this->FireAfterDisplayEvent();
ExecutionKPI::ReportStats();
}
const EVENT_SERVICE_AFTER_DISPLAY_PAGE = 'AfterDisplayPage';
protected function FireAfterDisplayEvent()
{
$aData['debug_info'] = 'from: '.get_class($this).":[$this->s_title]";
$aData['object'] = $this;
EventService::FireEvent(new EventData(self::EVENT_SERVICE_AFTER_DISPLAY_PAGE, get_class($this), $aData));
}
/**
* Build a series of hidden field[s] from an array
*