huge fml update

This commit is contained in:
Steffen Schröder
2014-01-19 19:30:21 +01:00
parent 9654b26f2b
commit 771409b8eb
66 changed files with 2303 additions and 134 deletions

View File

@ -16,6 +16,28 @@ class Music implements Renderable {
protected $tagName = 'music';
protected $data = '';
/**
* Create a new Music Element
*
* @param string $data (optional) Media Url
* @return \FML\Elements\Music
*/
public static function create($data = null) {
$music = new Music($data);
return $music;
}
/**
* Construct a new Music Element
*
* @param string $data (optional) Media Url
*/
public function __construct($data = null) {
if ($data !== null) {
$this->setData($data);
}
}
/**
* Set Data Url
*