2017 © Pedro Peláez
 

yii2-extension yii2-pwt-datepicker

Jalali datepicker

image

hadi-aj/yii2-pwt-datepicker

Jalali datepicker

  • Thursday, January 25, 2018
  • by hadi-aj
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Persian Date Picker for Yii2

This Date picker widget work with Iranian calendar, based on Persian Date Picker, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require hadi-aj/yii2-pwt-datepicker "*"

or add, (*4)

"hadi-aj/yii2-pwt-datepicker": "*"

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

Usage

use hadiaj\pwtdatepicker\PwtDatepicker;

// Normal select with ActiveForm & model
echo $form->field($model, 'date')->widget(PwtDatepicker::classname(), [
    'pluginOptions' => [
        'initialValue' => TRUE,
        ...
    ],
]);

// PwtDatepicker without model
echo PwtDatepicker::widget([
    'pluginOptions' => [
        'initialValue' => TRUE,
        ...
    ],
]);

Please, check the Persian Date Picker documentation for further information about its configuration options., (*6)

License

Freely distributable under the terms of the WTFPL license., (*7)

The Versions

25/01 2018

dev-master

9999999-dev https://github.com/hadi-aj/yii2-pwtdatepicker

Jalali datepicker

  Sources   Download

WTFPL

The Requires

 

by Hadi Alizadeh Jalali

plugin extension yii2 jquery widget datepicker

25/01 2018

1.0.0

1.0.0.0 https://github.com/hadi-aj/yii2-pwtdatepicker

Jalali datepicker

  Sources   Download

WTFPL

The Requires

 

by Hadi Alizadeh Jalali

plugin extension yii2 jquery widget datepicker