2017 © Pedro Peláez
 

yii2-extension legba-gii

An extension of gii generator that brings several improvements

image

id5/legba-gii

An extension of gii generator that brings several improvements

  • Thursday, April 30, 2015
  • by boscobass
  • Repository
  • 7 Watchers
  • 3 Stars
  • 169 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

legba-gii - About

An extension of gii generator that brings several improvements., (*1)

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., (*2)

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., (*3)

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)., (*4)

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., (*5)

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, (*6)

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

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:, (*8)

;) OK! Ready!, (*9)

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), (*10)

Abuse this, and contribute!!!, (*11)

Build Status, (*12)

The Versions

30/04 2015

dev-master

9999999-dev

An extension of gii generator that brings several improvements

  Sources   Download

GNU

The Requires

 

by Lucas Barros

yii2 gii