public static function initListeners() { if (GO::modules()->isInstalled('projects2')) { $templateController = new TemplateController(); $templateController->addListener('submit', "GO\\Exactonline\\ExactonlineModule", "afterProjectTemplateSubmit"); $templateController->addListener('load', "GO\\Exactonline\\ExactonlineModule", "afterProjectTemplateLoad"); $projectController = new ProjectController(); $projectController->addListener('displayformatincome', "GO\\Exactonline\\ExactonlineModule", "projectDisplayFormatIncome"); } }