public select ( string $query = '*', integer | boolean $index = false, boolean | integer $recursive = true, boolean $check_self = false ) : |
||
$query | string | |
$index | integer | boolean | True to return node instead of array if only 1 match, false to return array, int to return match at index, negative int to count from end |
$recursive | boolean | integer | |
$check_self | boolean | Include this node in search or only search child nodes |
Résultat | Returns an array of matching {@link DomNode} objects or a single {@link DomNode} if `$index` is not false. |