mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-21 04:22:35 +00:00
27 lines
325 B
PHP
27 lines
325 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;
|
|
}
|
|
}
|