InputfieldDatetime::renderReady()
Called before the render method, from a hook in the Inputfield class
We are overriding it here and checking for a datepicker, so that we can make sure jQuery UI is loaded before the InputfieldDatetime.js
Usage
// basic usage
$bool = $inputfieldDatetime->renderReady();
// usage with all arguments
$bool = $inputfieldDatetime->renderReady($parent = null, bool $renderValueMode = false);
Arguments
Name | Type(s) | Description |
---|---|---|
$parent (optional) | Inputfield null | |
$renderValueMode (optional) | bool |
Return value
bool
InputfieldDatetime methods and properties
API reference based on ProcessWire core version 3.0.251