jlorente/yii2-weeklyschedule-selector
Composer 安装命令:
composer require jlorente/yii2-weeklyschedule-selector
包简介
A Yii2 plugin that provides the framework with a weekly schedule selector to attach to models that need a weekly schedule organization.
README 文档
README
A Yii2 plugin that provides the framework with a weekly schedule selector to attach to models that need a weekly schedule organization.
This plugin is based on the JQuery plugin day-schedule-selector developed by artsy. For more documentation of configurations visit (http://www.jqueryscript.net/time-clock/Create-A-Basic-Weekly-Schedule-with-Hour-Selector-Using-jQuery.html) or the official repository.
Installation
To install, either run
$ php composer.phar require jlorente/yii2-weeklyschedule-selector "*"
or add
"require": { "jlorente/yii2-weeklyschedule-selector": "*" }
to the require section of your composer.json file and run the following
commands from your project directory.
$ composer update $ ./yii migrate --migrationPath=@app/vendor/jlorente/yii2-weeklyschedule-selector/src/migrations
The last command will create the table needed to handle the weekly schedule.
Basic Usage
First at all you must include the module in your web application.
./console/config/main.php
// ... other configurations ... "modules" => [ // ... other modules ... "command" => [ "class" => "jlorente\weeklyschedule\Module" ] ]
License
Copyright © 2015 José Lorente Martín jose.lorente.martin@gmail.com.
Licensed under the MIT license. See LICENSE.txt for details.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-01