akorinek/yii2-fullcalendar

用于在 Yii Framework 2.0 中使用 FullCalendar 的 Widget

安装: 53

依赖: 0

建议: 0

安全: 0

星标: 0

关注者: 2

分支: 15

语言:JavaScript

类型:yii2-extension

2.0.0 2014-11-07 11:32 UTC

This package is not auto-updated.

Last update: 2024-09-19 16:08:19 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 "*"

或者添加

"thiagotalma/yii2-fullcalendar": "*"

到你的 composer.json 文件的 require 部分。

用法

扩展安装完成后,只需在代码中通过

<?= \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
        ...
    ],
]); ?>