mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-28 10:10:51 +00:00
26 lines
324 B
PHP
26 lines
324 B
PHP
<?php
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeImage extends NodeMedia {
|
|
/*
|
|
* @return string
|
|
*/
|
|
public function getType() {
|
|
return 'media';
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowImage() {
|
|
return true;
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowAudio() {
|
|
return false;
|
|
}
|
|
}
|