* @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, * 2010-2012 Uwe Steinmann * @version Release: @package_version@ */ /** * Include parent class */ //require_once("class.Bootstrap.php"); /** * Class which outputs the html page for Notification Services view * * @category DMS * @package SeedDMS * @author Uwe Steinmann * @copyright Copyright (C) 2016 Uwe Steinmann * @version Release: @package_version@ */ class SeedDMS_View_NotificationServices extends SeedDMS_Theme_Style { /** * List all registered hooks * */ function list_notification_services($notifier) { /* {{{ */ if(!$notifier) return; $services = $notifier->getServices(); echo "\n"; echo ""; echo "\n"; echo ""; echo ""; foreach($services as $name=>$service) { echo ""; } echo ""; echo "
".getMLText('service_name')."".getMLText('class_name')."".getMLText('service_has_filter')."
".$name."".get_class($service)."".(is_callable([$service, 'filter']) ? '' : '')."
\n"; } /* }}} */ function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $notifier = $this->params['notifier']; $this->htmlStartPage(getMLText("admin_tools")); $this->globalNavigation(); $this->contentStart(); $this->pageNavigation(getMLText("admin_tools"), "admin_tools"); $this->contentHeading(getMLText("list_notification_services")); self::list_notification_services($notifier); $this->contentEnd(); $this->htmlEndPage(); } /* }}} */ }