mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 12:35:31 +00:00
17 lines
388 B
PHP
17 lines
388 B
PHP
<?php
|
|
namespace Wikia\PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeFooter extends Node {
|
|
|
|
public function getData() {
|
|
return [ 'value' => $this->getExternalParser()->parseRecursive(
|
|
\Wikia\PortableInfobox\Helpers\SimpleXmlUtil::getInstance()->getInnerXML( $this->xmlNode )
|
|
) ];
|
|
}
|
|
|
|
public function isEmpty( $data ) {
|
|
$links = trim( $data['value'] );
|
|
return empty( $links );
|
|
}
|
|
}
|