PHP Class macgyer\yii2materializecss\widgets\form\TimePicker

This widget implements Ching Yaw Hao's clock picker solution for Materialize.
See also: https://github.com/chingyawhao/materialize-clockpicker
Author: Ching Yaw Hao
Author: Christoph Erdmann ([email protected])
Inheritance: extends macgyer\yii2materializecss\lib\BaseInputWidget
Datei anzeigen Open project: macgyer/yii2-materializecss

Public Properties

Property Type Description
$clientEvents the event handlers for the underlying date picker JS plugin. Please refer to the corresponding documentation on Github.
$clientOptions the options for the underlying datepicker JS plugin. Please refer to the corresponding documentation on Github.

Public Methods

Method Description
init ( ) Initializes the widget.
run ( ) : string Executes the widget.

Private Methods

Method Description
registerAssets ( ) Registers the asset bundle and initializes plugin call.

Method Details

init() public method

Initializes the widget.
public init ( )

run() public method

Executes the widget.
public run ( ) : string
return string the result of widget execution to be outputted.

Property Details

$clientEvents public_oe property

the event handlers for the underlying date picker JS plugin. Please refer to the corresponding documentation on Github.
See also: https://github.com/chingyawhao/materialize-clockpicker#options
public $clientEvents

$clientOptions public_oe property

the options for the underlying datepicker JS plugin. Please refer to the corresponding documentation on Github.
See also: https://github.com/chingyawhao/materialize-clockpicker#options
public $clientOptions