Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update API docs for Set::extract()

Fixes #2634
  • Loading branch information...
commit 0b4f735b4cfea1483f61263c4eff262a219d1604 1 parent 6d3bc7b
Mark Story markstory authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/Cake/Utility/Set.php
5 lib/Cake/Utility/Set.php
View
@@ -319,8 +319,9 @@ public static function format($data, $format, $keys) {
}
/**
- * Implements partial support for XPath 2.0. If $path is an array or $data is empty it the call
- * is delegated to Set::classicExtract.
+ * Implements partial support for XPath 2.0. If $path does not contain a '/' the call
+ * is delegated to Set::classicExtract(). Also the $path and $data arguments are
+ * reversible.
*
* #### Currently implemented selectors:
*
Please sign in to comment.
Something went wrong with that request. Please try again.