1
0
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:
Ryan Cramer
2017-04-07 06:00:11 -04:00
parent 60989f97b4
commit 0714279ba9

View File

@@ -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);
* ~~~~~