Commit Graph

43 Commits

Author SHA1 Message Date
Carsten Brandt
d8c5595458 refactored gii enum dropdown generator
PR #3676
2014-06-04 09:53:09 +02:00
Joel Small
25fa2f2df9 Formatting changes to new enum field 2014-06-04 08:45:48 +09:30
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
2014-06-03 08:32:40 +09:30
Qiang Xue
58967f13a2 guide WIP [skip ci] 2014-05-10 19:16:14 -04:00
johonunu
c63edd3181 Reformating code. Removed \t signs, using spaces. Edited Changelog. 2014-05-01 10:08:11 +02:00
johonunu
6f9aee90ea Search model not required anymore in crud generator 2014-05-01 00:15:36 +02:00
suralc
1ad5c4c3fe Only valid php classes should pass validation 2014-04-29 20:28:57 +02:00
suralc
14e4e836e2 Fixed regex-escaping in crudgenerator 2014-04-29 15:26:13 +02:00
suralc
4230f7664d Fix #3265
Adding a new additional validation rule in the gii-crud generator enforcing the expected format.
2014-04-29 14:58:57 +02:00
Carsten Brandt
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
João José
831be93868 Typecast model id only if using mongodb AR class 2014-04-17 15:07:28 +01:00
João José
21dff54d6b Typecast model id only if using mongodb AR class 2014-04-17 14:50:29 +01:00
João José
b1beae71f3 Fixed format 2014-04-17 11:53:51 +01:00
João José
de1df94552 Typecast model id only if using mongodb AR class 2014-04-17 11:52:11 +01:00
João José
377b01d2c1 Typecast model Id so that urls don't break when using MongoDB object Id's 2014-04-16 15:54:55 +01:00
Qiang Xue
f747768fcf improved search model generator. 2014-04-02 20:47:01 -04:00
Carsten Brandt
51eabf527f typo 2014-04-02 18:50:49 +02:00
Carsten Brandt
96f1c4c10b renamed Query::filter() to Query::filterWhere() 2014-04-02 18:48:14 +02:00
Alexander Makarov
36c59dce9c Adjusted search model code generated by Gii CRUD generator 2014-03-31 16:52:40 +04:00
Alexander Makarov
94fd4e7e06 Gii CRUD generator now uses new addFilter method 2014-03-31 02:44:30 +04:00
Luciano Baraglia
c1fac6eb5e More changes in GII I18N 2014-03-21 00:01:46 -03:00
Luciano Baraglia
311bd469a1 Changes in GII I18N 2014-03-20 19:38:00 -03:00
Luciano Baraglia
d54c6159d9 Add category for I18N in GII 2014-03-20 18:57:52 -03:00
Luciano Baraglia
8c8f3d0cf2 Proposal: GII generate strings for I18N 2014-03-20 00:34:25 -03:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Alexander Makarov
6d97ded6c6 Fixes #2659 2014-03-08 03:01:14 +04:00
AlexGx
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
Alexander Makarov
80d3afa0dc Gii extension generator adjustments 2014-02-26 12:46:57 +04:00
Carsten Brandt
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
Alexander Makarov
22fa0d7c90 Added missing phpdoc for gii classes 2014-02-01 04:55:03 +04:00
Carsten Brandt
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
Thiago Talma
e299b78a2c Best way to get the labels to search, the existing model. 2014-01-21 18:01:35 -02:00
Qiang Xue
da9d544c54 psr-4 change. 2014-01-10 21:06:25 -05:00
Qiang Xue
41685a2409 moved extensions under yii. 2013-12-09 23:51:49 -05:00
Luciano Baraglia
7d1443e4b3 Gii crud generator broken 2013-12-02 10:29:42 -03:00
Carsten Brandt
d650ca3a08 updated gii crud to work with non SQL AR 2013-12-01 02:47:41 +01:00
Qiang Xue
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
Panagiotis Moustafellos
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
KiTE
c5ee83bffb Fixed gii after merge #1184 2013-11-13 23:54:27 +02:00
slavcodev
ecc557ef92 Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
Carsten Brandt
faed08e620 fixed crud to work with table that has no PK but AR defines one 2013-11-11 12:40:19 +01:00
Carsten Brandt
2faf6bb109 typo in crud generator
fixes #1131
2013-11-04 10:51:23 +01:00
Qiang Xue
c4bb668b90 moved gii and debug to extensions. 2013-11-03 00:16:35 -04:00