Skip to content
This repository
Browse code

Update API docs for Set::extract()

Fixes #2634
  • Loading branch information...
commit 0b4f735b4cfea1483f61263c4eff262a219d1604 1 parent 6d3bc7b
Mark Story authored March 02, 2012

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  lib/Cake/Utility/Set.php
5  lib/Cake/Utility/Set.php
@@ -319,8 +319,9 @@ public static function format($data, $format, $keys) {
319 319
 	}
320 320
 
321 321
 /**
322  
- * Implements partial support for XPath 2.0. If $path is an array or $data is empty it the call
323  
- * is delegated to Set::classicExtract.
  322
+ * Implements partial support for XPath 2.0. If $path does not contain a '/' the call
  323
+ * is delegated to Set::classicExtract(). Also the $path and $data arguments are 
  324
+ * reversible.
324 325
  *
325 326
  * #### Currently implemented selectors:
326 327
  *

0 notes on commit 0b4f735

Please sign in to comment.
Something went wrong with that request. Please try again.