mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
31eb02db28
commit
e516a8ba08
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue