File modules/wikiparser/model/TableElement.class.php
Last commit: Sat Feb 22 22:45:05 2020 +0100 Jan Dankert Refactoring: Enable Autoloading, Fix namespace structure.
1 <?php 2 3 namespace wikiparser\model; 4 5 use wikiparser\model\AbstractElement; 6 7 /** 8 * @author $Author$ 9 * @version $Revision$ 10 * @package openrat.text 11 */ 12 class TableElement extends AbstractElement 13 { 14 function render($type) 15 { 16 switch ($type) { 17 case 'html': 18 return '<p>' . $this->value . '</p>'; 19 default: 20 return $this->value; 21 } 22 } 23 } 24 25 ?>
Downloadmodules/wikiparser/model/TableElement.class.php
History Sat, 22 Feb 2020 22:45:05 +0100 Jan Dankert Refactoring: Enable Autoloading, Fix namespace structure.