* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ /** * class VariableInformation * Enthält Informationen über eine Variable in der Baumstruktur. Objekte dieser * Klasse werden im InformationTree verwendet. */ class ConfigTitle extends Leaf { /** * * @access private */ private $title; public function __construct($comment) { $this->setTitle($comment); } public function setTitle($comment) { $this->title = $comment; } public function getTitle() { return $this->title; } /** * * @param Visitor $ visitor */ public function accept(Visitor $visitor, $level = 1) { $visitor->visit($this, $level = 1); } // end of member function accept } // end of VariableInformation ?>