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