Development

Changeset 4114

You must first sign up to be able to contribute.

Changeset 4114

Show
Ignore:
Timestamp:
05/29/07 08:54:31 (1 year ago)
Author:
fabien
Message:

revert r4113

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/util/sfDomCssSelector.class.php

    r4113 r4114  
    11<?php 
    2  
    3 include_once(dirname(__FILE__).'/sfCssSelectorToXPath.class.php'); 
    42 
    53/* 
     
    103101  protected function getElementsForNode($selector, $root_node) 
    104102  { 
    105     $xpath = new DomXPath($root_node); 
    106     $nodes = array(); 
    107     $path = selectorToXpath($selector); 
    108     print "**  $path  **\n"; 
    109     foreach ($xpath->query($path) as $node) 
    110     { 
    111       $nodes[] = $node; 
    112     } 
    113     return $nodes; 
    114  
    115  
    116  
    117  
    118103    $all_nodes = array(); 
    119104    foreach ($this->tokenize_selectors($selector) as $selector)