moved Libs out of core folder

This commit is contained in:
Steffen Schröder
2014-08-03 13:02:02 +02:00
parent 4d3dc92ad5
commit d517c2d561
180 changed files with 5 additions and 4 deletions

View File

@ -0,0 +1,28 @@
<?php
namespace FML\ManiaCode;
/**
* Base ManiaCode Element
*
* @author steeffeen
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
abstract class Element {
/*
* Protected properties
*/
protected $tagName = 'element';
/**
* Render the ManiaCode Element
*
* @param \DOMDocument $domDocument The DOMDocument for which the Element should be rendered
* @return \DOMElement
*/
public function render(\DOMDocument $domDocument) {
$xmlElement = $domDocument->createElement($this->tagName);
return $xmlElement;
}
}