diff --git a/wire/core/Page.php b/wire/core/Page.php index deea152d..90d2498f 100644 --- a/wire/core/Page.php +++ b/wire/core/Page.php @@ -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() * diff --git a/wire/modules/Inputfield/InputfieldDatetime/InputfieldDatetime.module b/wire/modules/Inputfield/InputfieldDatetime/InputfieldDatetime.module index 013c2456..f57b609a 100644 --- a/wire/modules/Inputfield/InputfieldDatetime/InputfieldDatetime.module +++ b/wire/modules/Inputfield/InputfieldDatetime/InputfieldDatetime.module @@ -371,10 +371,13 @@ class InputfieldDatetime extends Inputfield { } /** - * Get or set jQuery UI datepicker options + * Get or set jQuery UI datepicker (and timepicker) options * * * + * Can also be used with several timepicker options: + * + * * ~~~~~ * // set custom options * $inputfield->datepickerOptions([ 'changeMonth' => false, 'changeYear' => false ]);