<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */


class TextNode extends TreeNode
{
  
  public $text;

  
  public function getContent(\Kufer\Web\Classes\scripting\ExpressionEvaluator $exportAdapter)
  {
    return $this->text . parent::getContent($exportAdapter);
  }

  public function __construct($pText)
  {
    $this->text = $pText;
  }
}