From ed105de578599535109c1b72895d45def76022ba Mon Sep 17 00:00:00 2001 From: the_undefined Date: Mon, 14 Apr 2008 11:18:08 +0000 Subject: [PATCH] Added one more example to the Set::extract docblock git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6661 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/set.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/libs/set.php b/cake/libs/set.php index f7fc08be7..82218206d 100644 --- a/cake/libs/set.php +++ b/cake/libs/set.php @@ -369,6 +369,7 @@ class Set extends Object { * - /User[id>2][<5] (selects all Users with an id > 2 but < 5) * - /Post/Comment[author_name=john]/../name (Selects the name of all Posts that have at least one Comment written by john) * - /Posts[title] (Selects all Posts that have a 'name' key) + * - /Comment/.[1] (Selects the contents of the first comment) * * Other limitations: * - Only absolute paths starting with a single '/' are supported right now