定制 id5/legba-gii 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

id5/legba-gii

Composer 安装命令:

composer require id5/legba-gii

包简介

An extension of gii generator that brings several improvements

关键字:

README 文档

README

An extension of gii generator that brings several improvements.

In all views, the button panel is more complete, including print button on all screens, list all and filter (for togglet form filters) and form better sized filters.

In view form, generations 1: 1 and 1: n (with viaTable ()) are displayed in selectbox (1: 1) or chackbox set (1: n with viaTable ()) making the work of the smartest CRUD and abstracting any refactoring to do so.

In the controls, the delete of methods were treated for exeções and not generate error 500 and stop running. In addition, in the create, update, delete are set flash messages about success or failure of action (which can be used to display the template main).

In the models for each relationship are created beyond getRelName () the getAllRelName () that behind all the list of entities that can be related to it (collection of active objects record of the relationship type). To facilitate the construction of views, is created getAllDataListRelName () that generates a list of the type key => value utility to popular forms, and is used to generate the improvements of relaciomaneto in views already described above.

legba-gii - Install

First clone (or fork / clone) git repository to your workplace, or if you prefer, download one of our releases in https://github.com/id5/legba-gii/releases

The location where the files should be (clone or download previous step) of legba-gii should be @ app / vendors / legba-gii

To enable the ability to generate the legba-gii templates, you must configure your application, then editer if u @ file app / conf / web.php and node to configure the gii, add:

;) OK! Ready!

Now to access the gii normally, and choose to generate CRUD, modules or templates in the selectbox TEMPLATE SET you can choose between standard generate (default option) or generate the legba-gii advanced (Legba Gii option)

Abuse this, and contribute!!!

Build Status

统计信息

  • 总下载量: 5.38k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 8
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GNU
  • 更新时间: 2015-04-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固