PortableInfobox/services/Parser/Nodes/NodeFooter.php

17 lines
335 B
PHP
Raw Normal View History

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