InputfieldDatetime::getInputType()

Get current date/time input type instance

Usage

// basic usage
$inputfieldDatetimeType = $inputfieldDatetime->getInputType();

// usage with all arguments
$inputfieldDatetimeType = $inputfieldDatetime->getInputType(string $typeName = '');

Arguments

NameType(s)Description
$typeName (optional)string

Return value

InputfieldDatetimeType


InputfieldDatetime methods and properties

API reference based on ProcessWire core version 3.0.252