PortableInfobox/includes/services/Parser/Nodes/NodeAudio.php
2018-08-26 16:08:31 +02:00

30 lines
377 B
PHP

<?php
namespace PortableInfobox\Parser\Nodes;
class NodeAudio extends NodeMedia {
public function getType() {
return 'media';
}
/*
* @return bool
*/
protected function allowImage() {
return false;
}
/*
* @return bool
*/
protected function allowVideo() {
return false;
}
/*
* @return bool
*/
protected function allowAudio() {
return true;
}
}