TrackManiaControl/application/core/FML/Controls/Audio.php

32 lines
526 B
PHP
Raw Normal View History

<?php
namespace FML\Controls;
/**
2013-12-31 02:55:19 +01:00
* Class representing Audio (CMlMediaPlayer)
*
* @author steeffeen
*/
class Audio extends Control implements Playable, Scriptable {
/**
2013-12-31 02:55:19 +01:00
* Construct a new Audio Control
*
2013-12-31 02:55:19 +01:00
* @param string $id
* Control Id
*/
public function __construct($id = null) {
parent::__construct($id);
$this->tagName = 'audio';
}
/**
*
* @see \FML\Control::render()
*/
public function render(\DOMDocument $domDocument) {
$xml = parent::render($domDocument);
return $xml;
}
}