Commit Graph

40 Commits

Author SHA1 Message Date
Qiang Xue
6461817667 Fixes #2314: Gii model generator does not generate correct relation type in some special case 2014-06-10 16:22:15 -04:00
Carsten Brandt
a643bde5d5 improved gii input filter, fixes #3689 2014-06-04 09:03:31 +02:00
Qiang Xue
cd162d9b9b added missing hint [skip ci] 2014-05-10 16:00:20 -04:00
Qiang Xue
3e3e443544 Refactored the fix for #3222. 2014-04-23 19:36:56 -04:00
horizons2
b68f5b617f removed unused code
removed unused code $patterns
2014-04-23 16:16:41 +02:00
horizons2
8ff55d1a28 correct typo
useTablePefix => useTablePrefix
2014-04-23 15:57:22 +02:00
horizons2
1d9e6b6f8b use tableprefix on gii model generator
use tableprefix on gii model generator
2014-04-23 15:41:25 +02:00
Carsten Brandt
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
Carsten Brandt
3bc70ac133 do not throw exception if db component is not set
without this the form does not allow choosing a different connection id
2014-04-14 10:19:06 +02:00
Carsten Brandt
cd4b3f7827 Gii model generator did not add correct db connection
if component id is different from 'db'
2014-04-14 10:17:01 +02:00
Qiang Xue
02c3c37a00 Fixes #2986. 2014-04-05 11:55:26 -04:00
Alexander Makarov
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
Qiang Xue
797b0430b9 Added missing using statement in Gii. 2014-03-24 08:28:22 -04:00
Carsten Brandt
c0b5af30e2 Merge pull request #2836 from lucianobaraglia/gii-i18n-model
Enable I18N for GII model generator
2014-03-21 11:05:05 +01:00
Luciano Baraglia
3eb90c54c1 Enable I18N for GII model generator 2014-03-21 02:47:16 -03:00
Qiang Xue
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
Tobias Munk
21d02e1483 fixes #2776 renamed default template folder 2014-03-17 23:49:18 +01:00
Luciano Baraglia
7c75b9bc53 GII generated files changes according to PSR2 2014-03-16 17:50:32 -03:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Luciano Baraglia
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
Alexander Makarov
b0ef4c9084 Removed unused variables 2014-03-04 21:46:30 +04:00
Carsten Brandt
1708a36d95 WIP merge ActiveRelation into ActiveQuery
allow extending only one class to add scopes, fixes #2146

TODO:

- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
Alexander Makarov
4a201c7ad5 Removed unused variables 2014-02-07 13:39:35 +04:00
Thiago Talma
d92a23536c Ensure that the table prefix is used when generating the class name. 2014-01-23 18:03:30 -02:00
BelalWM
7baf261f94 Fix phpdoc generation in gii model generator. 2014-01-11 12:24:23 +04: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
Qiang Xue
f473abe17f Fixes #1405: fixed disambiguation of relation names generated by gii. 2013-12-02 21:00:58 -05: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
Qiang Xue
542477c323 typo fix. 2013-11-15 09:18:30 -05:00
Qiang Xue
6992cc2c73 Fixes #1196. 2013-11-15 08:44:59 -05: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
slavcodev
3cdd78cafe Fix rules generator 2013-11-12 16:27:31 +02:00
Qiang Xue
4b49a31f57 minor fix to gii 2013-11-08 21:14:03 -05:00
Alexander Makarov
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Carsten Brandt
07391b6dc1 fixed wrong relation class name in gii model generator
fixes #1146
2013-11-06 14:30:53 +01:00
Qiang Xue
c4bb668b90 moved gii and debug to extensions. 2013-11-03 00:16:35 -04:00