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

30 lines
377 B
PHP

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