File modules/template_engine/element/EmptyElement.class.php

Last commit: Sat Feb 22 22:23:01 2020 +0100	Jan Dankert	Refactoring: Enable Autoloading, Fix namespace structure.
1 <?php 2 3 4 namespace template_engine\element; 5 6 7 use template_engine\element\attribute\SimpleAttribute; 8 9 10 /** 11 * An empty element. 12 * 13 * 'empty' means, the element has no tag and no text content. But it may (and should) contain child elements. 14 * 15 * @package modules\template_engine 16 */ 17 class EmptyElement extends Element 18 { 19 public function __construct() 20 { 21 parent::__construct(null); 22 } 23 }
Download modules/template_engine/element/EmptyElement.class.php
History Sat, 22 Feb 2020 22:23:01 +0100 Jan Dankert Refactoring: Enable Autoloading, Fix namespace structure. Sat, 22 Feb 2020 01:58:20 +0100 Jan Dankert New: Autoloading of classes in all modules.