Node Class Reference
[DifferenceEngine]

Copyright (C) 2008 Guy Van den Broeck <guy@guyvdb.eu>. More...

Inherited by DummyNode, TagNode, and TextNode.

List of all members.

Public Member Functions

 __construct ($parent)
 getParentTree ()
 getLastCommonParent (Node $other)
 setParent ($parent)
 inPre ()

Public Attributes

 $parent
 $whiteBefore = false
 $whiteAfter = false

Protected Attributes

 $parentTree


Detailed Description

Copyright (C) 2008 Guy Van den Broeck <guy@guyvdb.eu>.

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.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. or see http://www.gnu.org/ Any element in the DOM tree of an HTML document.

Definition at line 26 of file Nodes.php.


Constructor & Destructor Documentation

Node::__construct ( parent  ) 

Definition at line 36 of file Nodes.php.

References $parent.


Member Function Documentation

Node::getLastCommonParent ( Node other  ) 

Definition at line 52 of file Nodes.php.

References $i, $result, and getParentTree().

Node::getParentTree (  ) 

Definition at line 40 of file Nodes.php.

Referenced by getLastCommonParent(), and inPre().

Node::inPre (  ) 

Definition at line 90 of file Nodes.php.

References getParentTree().

Node::setParent ( parent  ) 

Definition at line 85 of file Nodes.php.

References $parent.


Member Data Documentation

Node::$parent

Node::$parentTree [protected]

Definition at line 30 of file Nodes.php.

Node::$whiteAfter = false

Definition at line 34 of file Nodes.php.

Node::$whiteBefore = false

Definition at line 32 of file Nodes.php.


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:43 2009 for MediaWiki by  doxygen 1.5.9