* @copyright Copyright (C) 2010-2023 Uwe Steinmann * @version Release: @package_version@ */ /** * Class which outputs the html page for Conversion Services view * * @category DMS * @package SeedDMS * @author Uwe Steinmann * @copyright Copyright (C) 2016 Uwe Steinmann * @version Release: @package_version@ */ class SeedDMS_View_ConversionServices extends SeedDMS_Theme_Style { /** * List all registered conversion services * */ function list_conversion_services($conversionmgr) { /* {{{ */ if(!$conversionmgr) return; $allservices = $conversionmgr->getServices(); echo "\n"; echo ""; echo "\n"; echo ""; echo ""; foreach($allservices as $from=>$tos) { foreach($tos as $to=>$services) { foreach($services as $service) { echo ""; } } } echo ""; echo "
".getMLText('service_list_from')."".getMLText('service_list_to')."".getMLText('class_name')."".getMLText('service_list_info')."
".$from."".$to."".get_class($service)."".$service->getInfo()."
\n"; } /* }}} */ function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $conversionmgr = $this->params['conversionmgr']; $this->htmlStartPage(getMLText("admin_tools")); $this->globalNavigation(); $this->contentStart(); $this->pageNavigation(getMLText("admin_tools"), "admin_tools"); $this->contentHeading(getMLText("list_conversion_services")); self::list_conversion_services($conversionmgr); $this->contentEnd(); $this->htmlEndPage(); } /* }}} */ }