mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Update phpdoc for $pages->sort() per processwire/processwire-issues#225
This commit is contained in:
@@ -862,10 +862,6 @@ class Pages extends Wire {
|
||||
* // set $page to have sort=5, moving any 5+ sort pages ahead
|
||||
* $pages->sort($page, 5);
|
||||
*
|
||||
* // same as above using alternate syntax
|
||||
* $page->sort = 5;
|
||||
* $pages->sort($page);
|
||||
*
|
||||
* // re-build sort values for children of $page, removing duplicates and gaps
|
||||
* $pages->sort($page, true);
|
||||
* ~~~~~
|
||||
|
Reference in New Issue
Block a user