File modules/cms/output/Output.class.php

Last commit: Mon Jan 31 00:00:48 2022 +0100	dankert	Some documentation...
1 <?php 2 3 namespace cms\output; 4 5 use BadMethodCallException; 6 use cms\action\RequestParams; 7 use cms\base\Language as L; 8 use cms\Dispatcher; 9 use Exception; 10 use template_engine\engine\TemplateRunner; 11 use util\Http; 12 use logger\Logger; 13 use LogicException; 14 use \util\exception\ObjectNotFoundException; 15 use util\exception\UIException; 16 use util\exception\SecurityException; 17 use template_engine\engine\TemplateEngine; 18 use util\text\TextMessage; 19 20 21 /** 22 * Executing the Openrat CMS User Interface. 23 * The request is executed by a dispatcher and the output is displayed with a template. 24 */ 25 interface Output 26 { 27 /** 28 * Rendering output. 29 */ 30 public function execute(); 31 32 /** 33 * Gets the content type. 34 * 35 * @return string 36 */ 37 public function getContentType(); 38 }
Download modules/cms/output/Output.class.php
History Mon, 31 Jan 2022 00:00:48 +0100 dankert Some documentation... Sun, 30 Jan 2022 23:38:42 +0100 dankert Refactoring: Only 1 http-endpoint for both the UI and the API. Path "/api" is not available any more, all API data is served under "/".