Yii框架2.0版本的Widget,用于使用FullCalendar
v2.2.3.3
2014-12-12 17:02 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-24 03:17:20 UTC
README
为Yii框架2.0版本提供Widget,用于使用FullCalendar(版本2.2.3),基于yii2-talma-fullcalendar-widget
安装
安装此扩展的首选方式是通过composer。
运行以下命令:
php composer.phar require --prefer-dist paolomanca/yii2-fullcalendar "*"
或者将以下内容添加到你的composer.json
文件的require部分:
"paolomanca/yii2-fullcalendar": "*"
使用
一旦安装了该扩展,只需在代码中使用它即可:
<?= \talma\widgets\FullCalendar::widget([ 'googleCalendar' => true, // If the plugin displays a Google Calendar. Default false 'loading' => 'Carregando...', // Text for loading alert. Default 'Loading...' 'config' => [ // put your options and callbacks here // see http://arshaw.com/fullcalendar/docs/ 'lang' => 'pt-br', // optional, if empty get app language ... ], ]); ?>