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