From 9063e7eff0596912ac7d8408190b125480c720aa Mon Sep 17 00:00:00 2001 From: Lucas Barros Date: Wed, 13 May 2015 09:49:46 -0300 Subject: [PATCH 1/2] Chenge format text of readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ee7eb3..f58174d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -legba-gii - About +#### legba-gii - About + 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. @@ -9,7 +10,8 @@ In the controls, the delete of methods were treated for exeções and not genera 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 +#### 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 From fa84e177d3737fb246ef58652bd56f851967a933 Mon Sep 17 00:00:00 2001 From: Lucas Barros Date: Thu, 2 Jul 2015 11:12:44 -0300 Subject: [PATCH 2/2] Adjust compatible PHP 5.4.3 over Windows + APACHE2 --- model/advanced/model.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/model/advanced/model.php b/model/advanced/model.php index f608b93..1cd91dd 100644 --- a/model/advanced/model.php +++ b/model/advanced/model.php @@ -101,7 +101,8 @@ public function get() */ public function getAllDataList() { - if ( empty($relModel = ::find()->asArray()->all() ) ) { + $relModel = ::find()->asArray()->all() + if ( empty( $relModel ) ) { $arrTemp= array('', ''); }else{ foreach($relModel[0] as $key => $value){ $arrTemp[] = $key; } @@ -143,4 +144,4 @@ public function loadAndSave( $arrData ) return false; } -} \ No newline at end of file +}