tejrajs/yii2-fullcalendar
最新稳定版本:0.0.2
Composer 安装命令:
composer require tejrajs/yii2-fullcalendar
包简介
Just A Fullcalendar Yii2 Widget
README 文档
README
fullcalendar yii2 widget
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist tejrajs/yii2-fullcalendar "dev-master"
or add
"tejrajs/yii2-fullcalendar": "dev-master"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?php use tejrajs\fullcalendar\FullCalendar; ?> <?= FullCalendar::widget([ 'options'=>['id'=>'calender'], 'config' => [ 'header' => ['left'=>'prev,next today','center'=> 'title','right'=> 'month,agendaWeek,agendaDay'], 'defaultDate' => date('Y-m-d'), 'editable' => true, 'lang' => 'en-gb', // optional, if empty get app language // put your options and callbacks here // see http://arshaw.com/fullcalendar/docs/ //@eg 'eventSources'=> ['http://localhost/new_crm_branch/crm/marketing/feed'], ], ]); ?>
统计信息
- 总下载量: 2.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-01-16