PHP Class dosamigos\datepicker\DatePicker

Author: Antonio Ramirez ([email protected])
Inheritance: extends yii\widgets\InputWidget, use trait DatePickerTrait
Show file Open project: 2amigos/yii2-date-picker-widget Class Usage Examples

Public Properties

Property Type Description
$addon the addon markup if you wish to display the input as a component. If you don't wish to render as a component then set it to null or false.
$inline whether to render the input as an inline calendar
$template the template to render the input.

Public Methods

Method Description
init ( )
registerClientScript ( ) Registers required script for the plugin to work as DatePicker
run ( )

Method Details

init() public method

public init ( )

registerClientScript() public method

Registers required script for the plugin to work as DatePicker

run() public method

public run ( )

Property Details

$addon public property

the addon markup if you wish to display the input as a component. If you don't wish to render as a component then set it to null or false.
public $addon

$inline public property

whether to render the input as an inline calendar
public $inline

$template public property

the template to render the input.
public $template