mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-19 11:40:31 +00:00
30 lines
377 B
PHP
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;
|
|
}
|
|
}
|