[ Index ] |
PHP Cross Reference of phool |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | Francois Laupretre <phool@tekwire.net> |
License: | http://www.apache.org/licenses/LICENSE-2.0 Apache License, V 2.0 |
File Size: | 240 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
XPage:: (12 methods):
__construct()
nodes()
node()
lastNode()
values()
value()
nb()
aInfo()
recursiveBackNodes()
recursiveBackNode()
recursiveBackValues()
recursiveBackValue()
__construct($data,$html=true) X-Ref |
No description |
nodes($xpath,$base=null) X-Ref |
Returns a list of nodes corresponding to an XPath returns: DOMNodeList (can be empty) param: string $xpath The xpath string param: DOMElement|null The search base(if null, starts from the root node) |
node($xpath,$base=null) X-Ref |
Returns the first node corresponding to an XPath returns: DOMNode|null null if no match param: string $xpath The xpath string param: DOMElement|null The search base(if null, starts from the root node) |
lastNode($xpath,$base=null) X-Ref |
Returns the last node corresponding to an XPath returns: DOMNode|null null if no match param: string $xpath The xpath string param: DOMElement|null The search base(if null, starts from the root node) |
values($xpath,$base=null) X-Ref |
Returns the values of the nodes corresponding to an XPath (nodeValue) returns: array empty if no match param: string $xpath The xpath string param: DOMElement|null The search base(if null, starts from the root node) |
value($xpath,$base=null) X-Ref |
Returns the value of the first node corresponding to an XPath (nodeValue) returns: string|null null if no match param: string $xpath The xpath string param: DOMElement|null The search base(if null, starts from the root node) |
nb($xpath,$base=null) X-Ref |
Returns the number of nodes corresponding to an XPath (nodeValue) returns: int param: string $xpath The xpath string param: DOMElement|null The search base(if null, starts from the root node) |
aInfo($node) X-Ref |
Returns the text and target of an hyperlink node as an array('text' => <text>, 'url' => <target>) returns: array(text,url) param: DOMNode $node Node of type 'a' |
recursiveBackNodes($start_node,$item) X-Ref |
No description |
recursiveBackNode($start_node,$item) X-Ref |
No description |
recursiveBackValues($start_node,$item) X-Ref |
No description |
recursiveBackValue($start_node,$item) X-Ref |
No description |
Generated: Thu Jun 4 19:17:11 2015 | Cross-referenced by PHPXref 0.7.1 |