vladdnepr/yii2-ycm-utils
最新稳定版本:0.2
Composer 安装命令:
composer require vladdnepr/yii2-ycm-utils
包简介
YCM - Yii 2 Content Management module Utilities
关键字:
README 文档
README
Yii 2 YCM Utilities
YCM Utils - Yii 2 Content Management module Utilities
Module is in initial development.
Anything may change at any time.
Using
Add to web.php in modules
'ycm-utils' => [
'class' => '\vladdnepr\ycm\utils\Module'
],
Note! ycm module must be added in modules
Add YcmModelUtilTrait trait to all models.
In model gridViewColumns use editableColumn method for all editable columns. For example
public function gridViewColumns()
{
return [
'id',
$this->editableColumn('name'),
$this->editableColumn('title'),
'description:html',
'link:url'
];
}
Installation
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this package using the following command:
php composer.phar require "vladdnepr/yii2-ycm-utils" "*"
or add
"vladdnepr/yii2-ycm-utils": "*"
to the require section of your application's composer.json file.
Contributing
Please see CONTRIBUTING for details.
Credits
License
Public domain. Please see License File for more information.
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: public
- 更新时间: 2015-09-15