PortableInfobox/services/Parser/Nodes/NodeFooter.php
2015-05-04 16:16:35 +02:00

17 lines
335 B
PHP

<?php
namespace Wikia\PortableInfobox\Parser\Nodes;
class NodeFooter extends Node {
public function getData() {
$data = [];
$data['value'] = $this->parseWithExternalParser( (string) $this->xmlNode, true );
return $data;
}
public function isEmpty( $data ) {
$links = trim( $data['value'] );
return empty( $links );
}
}