vladdnepr/yii2-ycm-utils 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: public
  • 更新时间: 2015-09-15