用于Yii Framework 2.0的FullCalendar小部件

安装量: 43,459

依赖者: 0

建议者: 0

安全性: 0

星星: 14

观察者: 8

分支: 15

语言:JavaScript

类型:yii2-extension

2.0.0 2014-11-07 11:32 UTC

This package is not auto-updated.

Last update: 2024-09-14 16:39:46 UTC


README

用于Yii Framework 2.0的FullCalendar小部件

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License

安装

安装此扩展的首选方式是通过composer

运行以下命令之一:

php composer.phar require --prefer-dist thiagotalma/yii2-fullcalendar "*"

或者将以下内容添加到您的composer.json文件的require部分:

"thiagotalma/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
        ...
    ],
]); ?>