Added doc block comments for new Set::extract features

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6673 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
the_undefined 2008-04-16 20:23:02 +00:00
parent 31eb02db28
commit e516a8ba08

View file

@ -370,6 +370,10 @@ class Set extends Object {
* - /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)
* - /Comment/.[:last] (Selects the last comment)
* - /Comment/.[:first] (Selects the last comment)
* - /Comment[text=/cakephp/i] (Selects the all comments that have a text matching the regex /cakephp/i)
* - /Comment/@* (Selects the all key names of all comments)
*
* Other limitations:
* - Only absolute paths starting with a single '/' are supported right now