1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 01:04:16 +02:00

Minor phpdoc updates

This commit is contained in:
Ryan Cramer
2024-06-28 17:15:17 -04:00
parent 0500293f96
commit d5faf861dc
2 changed files with 6 additions and 1 deletions

View File

@@ -1838,6 +1838,8 @@ class Page extends WireData implements \Countable, WireMatchable {
* - When a string or array, a selector is assumed and quantity will be counted based on selector.
* - When boolean true, number includes only visible children (excludes unpublished, hidden, no-access, etc.)
* - When boolean false, number includes all children without conditions, including unpublished, hidden, no-access, etc.
* - When integer 1 number includes “viewable” children (as opposed to “visible” children, viewable children includes
* hidden pages and also includes unpublished pages if user has page-edit permission).
* @return int Number of children
* @see Page::hasChildren(), Page::children(), Page::child()
*