metalguardian/yii-date-time-picker-widget
Composer 安装命令:
composer require metalguardian/yii-date-time-picker-widget
包简介
README 文档
README
This yii extension is a wrapper for the powerful jQuery date-time picker
Installation
Install this extension using composer.
Run
php composer.phar require metalguardian/yii-date-time-picker-widget "*"
or add
"metalguardian/yii-date-time-picker-widget": "*"
to the require section of the composer.json file.
Usage
<?php $this->widget( \metalguardian\DateTimePicker::className(), array( 'model' => $model, 'attribute' => 'date_time_attribute', 'options' => array( 'format' => 'yy-mm-dd', ), 'htmlOptions' => array( 'class' => 'custom-class', ), ) ); ?>
For complete documentation of JQuery DateTimePicker and all widget options please refer to the documentation page
License
yii2-fotorama-widget is released under the MIT License. See the bundled LICENSE for details.
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-08