예제 #1
0
 /**
  * Constructor
  *
  * @access public
  * @param string $content The initial content of this element
  * @param int $occurredAt The position in the text where this node
  *                        occurred at. If not determinable, it is -1.
  * @see Parser_Node_Text::content
  */
 function Parser_Node_Text($content, $occurredAt = -1)
 {
     parent::Parser_Node($occurredAt);
     $this->content = $content;
 }