Qiang Xue
5cb2ce49dd
Fixes #3665 : Better default behavior for ModelSearch generated by the crud generator
10 years ago
Alexander Makarov
b4ba430ac4
Reverted #3665 (reverted from commit 2aa3949963
)
10 years ago
Alexander Makarov
2aa3949963
Fixes #3665 : Improved Gii CRUD generated code to support setting initial conditions via initializing search model
10 years ago
Qiang Xue
d7c3e7815b
Fixes #6367 : Added `yii\gii\generators\crud\Generator` to support customizing view path for the generated CRUD controller
10 years ago
Qiang Xue
b63bd412da
Fixes #3323 [skip ci]
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Alexander Makarov
a38ba3ccbf
Fixes #4526 : fixed error caused by substr_compare length parameter doesn't accept null in PHP 5.4
10 years ago
Carsten Brandt
7736853837
property code style extensions
10 years ago
Alexander Makarov
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
10 years ago
Kai Mindermann
ca752a6408
Fixes #4410 : Fixed Gii to preserve database column order in generated _form.php
10 years ago
Bohdan Shulha
90594138f7
Fixes PHPDoc
10 years ago
Alexander Makarov
492337de2d
else if → elseif
10 years ago
Alexander Makarov
a73a2d3fdd
Revert "Gii `*Search` model generator fix"
10 years ago
Alexander Makarov
c8299697d0
Correct fix for #4060
10 years ago
Alexander Makarov
a03d87feb0
Fixes #4060
10 years ago
Alexander Kochetov
73fad8eb75
Gii `*Search` model generator fix
10 years ago
Alexander Makarov
e2a6acaf6b
Fixes #4005 : added phpdoc to search model Gii template
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Dmitry Chernikov
c9f79a2cb0
Gii codestyle fixes #2
10 years ago
Dmitry Chernikov
27a9bc759e
Gii codestyle fixes
10 years ago
Carsten Brandt
d8c5595458
refactored gii enum dropdown generator
...
PR #3676
10 years ago
Joel Small
25fa2f2df9
Formatting changes to new enum field
10 years ago
Joel Small
e636174992
Added ability to generate dropdown from Enum field
...
Alternatively, if statement could be: if(substr($column->dbType, 0, 4) === 'enum'), however expected implemented option to be more robust across other database formats.
Created after followup on this issue: https://github.com/yiisoft/yii/issues/292#issuecomment-44780779
10 years ago
Qiang Xue
58967f13a2
guide WIP [skip ci]
11 years ago
johonunu
c63edd3181
Reformating code. Removed \t signs, using spaces. Edited Changelog.
11 years ago
johonunu
6f9aee90ea
Search model not required anymore in crud generator
11 years ago
suralc
1ad5c4c3fe
Only valid php classes should pass validation
11 years ago
suralc
14e4e836e2
Fixed regex-escaping in crudgenerator
11 years ago
suralc
4230f7664d
Fix #3265
...
Adding a new additional validation rule in the gii-crud generator enforcing the expected format.
11 years ago
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
11 years ago
Luciano Baraglia
24e0bfcfed
Gii missing space in crud update template [skip ci]
11 years ago
João José
831be93868
Typecast model id only if using mongodb AR class
11 years ago
João José
21dff54d6b
Typecast model id only if using mongodb AR class
11 years ago
João José
b1beae71f3
Fixed format
11 years ago
João José
de1df94552
Typecast model id only if using mongodb AR class
11 years ago
João José
377b01d2c1
Typecast model Id so that urls don't break when using MongoDB object Id's
11 years ago
Alexander Makarov
75154d351d
Refactored AR find
11 years ago
Qiang Xue
a15a3835c7
Moved all filter classes to namespace `yii\filters`
11 years ago
Qiang Xue
3ea6343799
improved search model [skip ci]
11 years ago
Qiang Xue
b23cb17713
fixed search model to use base model class.
11 years ago
Qiang Xue
1e098ebd4b
simplified search model [skip ci]
11 years ago
Qiang Xue
f747768fcf
improved search model generator.
11 years ago
Carsten Brandt
51eabf527f
typo
11 years ago
Carsten Brandt
96f1c4c10b
renamed Query::filter() to Query::filterWhere()
11 years ago
Alexander Makarov
36c59dce9c
Adjusted search model code generated by Gii CRUD generator
11 years ago
Qiang Xue
338b6aa7d3
Refactored ActiveRecord::find() so that find(null) will also return an ActiveRecord instance instead of ActiveQuery.
11 years ago
Alexander Makarov
94fd4e7e06
Gii CRUD generator now uses new addFilter method
11 years ago
Qiang Xue
797b0430b9
Added missing using statement in Gii.
11 years ago
Luciano Baraglia
1d7f485444
CS style fix
11 years ago
Luciano Baraglia
c1fac6eb5e
More changes in GII I18N
11 years ago