PortableInfobox/includes/services/Parser/Nodes/NodeAudio.php

34 lines
406 B
PHP
Raw Normal View History

2018-08-12 10:00:05 +00:00
<?php
2022-03-11 20:35:51 +00:00
2018-08-12 10:00:05 +00:00
namespace PortableInfobox\Parser\Nodes;
class NodeAudio extends NodeMedia {
2021-09-10 04:01:31 +00:00
/*
* @return string
*/
public function getType() {
return 'media';
}
2018-08-12 10:00:05 +00:00
/*
* @return bool
*/
protected function allowImage() {
return false;
}
/*
* @return bool
*/
protected function allowVideo() {
return false;
}
/*
* @return bool
*/
protected function allowAudio() {
return true;
}
2018-08-16 09:25:53 +00:00
}