File modules/template_engine/components/html/component_output/OutputComponent.class.php

Last commit: Wed Oct 14 22:36:29 2020 +0200	Jan Dankert	Refactoring: Fixed the namespace in component classes, now the are able to be load by the standard autoloader.
1 <?php 2 3 namespace template_engine\components\html\component_output; 4 5 use template_engine\components\html\Component; 6 use template_engine\element\Element; 7 use template_engine\element\PHPBlockElement; 8 9 class OutputComponent extends Component 10 { 11 public function createElement() 12 { 13 // No content. 14 return new Element(null ); 15 } 16 }
Download modules/template_engine/components/html/component_output/OutputComponent.class.php
History Wed, 14 Oct 2020 22:36:29 +0200 Jan Dankert Refactoring: Fixed the namespace in component classes, now the are able to be load by the standard autoloader. Wed, 14 Oct 2020 22:20:22 +0200 Jan Dankert Refactoring: Renamed component folders, because 'if' is no valid namespace fragment.