mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-28 10:10:51 +00:00
14 lines
270 B
PHP
14 lines
270 B
PHP
<?php
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeTitle extends Node {
|
|
public function getData() {
|
|
if ( !isset( $this->data ) ) {
|
|
$title = $this->getValueWithDefault( $this->xmlNode );
|
|
$this->data = [ 'value' => $title ];
|
|
}
|
|
|
|
return $this->data;
|
|
}
|
|
}
|