- Moved FML into core folder

- Endurance plugin
- map class nbCheckpoints
- added script callbacks registration
This commit is contained in:
Steffen Schröder
2013-11-25 19:46:29 +01:00
parent 65394e165e
commit 7f1646f25d
65 changed files with 141 additions and 4 deletions

View File

@ -0,0 +1,37 @@
<?php
namespace FML\Elements;
/**
* Class representing include
*
* @author steeffeen
*/
class Including implements Renderable {
/**
* Protected properties
*/
protected $url = '';
protected $tagName = 'include';
/**
* Set url
*
* @param string $url
*/
public function setUrl($url) {
$this->url = $url;
}
/**
*
* @see \FML\Renderable::render()
*/
public function render(\DOMDocument $domDocument) {
$xml = $domDocument->createElement($this->tagName);
$xml->setAttribute('url', $this->url);
return $xml;
}
}
?>