2017 © Pedro Peláez
 

yii2-widget yii2-laydate

The laydate widget laydate the Yii framework

image

tangniyuqi/yii2-laydate

The laydate widget laydate the Yii framework

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Install

add tangniyuqi/yii2-laydate to composer.json, (*1)

$ composer install
$ php composer.phar require tangniyuqi/yii2-laydate "*"

or add, (*2)

"tangniyuqi/yii2-laydate": "*"

to the require section of your composer.json file., (*3)

Usage

in view:, (*4)

use tangniyuqi\assets\LayDateAsset;

LayDateAsset::register($this);

or, (*5)

echo $form->field($model, 'birth')->widget('tangniyuqi\laydate\LayDate', [
        'format' => 'Y',
        'clientOptions' => [
            'type' => 'year', //see http://www.layui.com/doc/modules/laydate.html#type
            'format' => 'yyyy', //see http://www.layui.com/doc/modules/laydate.html#format
        ]
    ]);

The Versions

11/05 2018

dev-master

9999999-dev https://github.com/tangniyuqi/yii2-laydate

The laydate widget laydate the Yii framework

  Sources   Download

MIT BSD 3-Clause

The Requires

 

extension yii2 widget laydate

11/05 2018

1.0.3

1.0.3.0 https://github.com/tangniyuqi/yii2-laydate

The laydate widget laydate the Yii framework

  Sources   Download

MIT

The Requires

 

yii2 widget laydate

30/10 2017

1.0.0

1.0.0.0 https://github.com/tangniyuqi/yii2-layer

The laydate extension laydate the Yii framework

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 layer