/** * Initializes the expression node. The argument determines the * expression that it represents. * @param String $expression The expression represented by the node. */ public function __construct($expression) { parent::__construct(); $this->_expression = $expression; }
/** * Creates the scannable node. */ public function __construct() { parent::__construct(); }
/** * Constructs a new Opt_Xml_Cdata node. * * @param String $cdata The initial text. */ public function __construct($cdata) { parent::__construct(); self::$mode != Opt_Class::QUIRKS_MODE and $this->_validate($cdata); $this->_text = $cdata; }