Commit Graph

223 Commits

Author SHA1 Message Date
Qiang Xue
3e9a074394 Merge pull request #2050 from yiisoft/feature-fixture
Feature fixture
2014-01-18 21:08:55 -08:00
Qiang Xue
87be9deaf0 refactored fixture. 2014-01-18 16:18:33 -05:00
Vladimir
d5cd6b0dfe Update Migration.php
add ability to use an array in multi columns parameters
2014-01-18 17:12:20 +03:00
Qiang Xue
eade9dd115 message fix. 2014-01-16 20:39:06 -05:00
Qiang Xue
9b723baa76 Added TableSchema::fullName property 2014-01-16 15:51:14 -05:00
Carsten Brandt
7e961eee85 fixed test break 2014-01-16 11:50:59 +01:00
Carsten Brandt
829850da23 removed phpdoc about nonexisting param 2014-01-16 11:07:50 +01:00
Carsten Brandt
796284cba1 reworked fix for #1993 2014-01-16 11:05:26 +01:00
Carsten Brandt
81d23332df afterFind event in AR is now called after relations have been populated
fixes #1993
2014-01-16 10:28:58 +01:00
Alexander Makarov
5d23a066ca Removed unused imports 2014-01-12 23:42:55 +04:00
Alexander Makarov
349f2c9e32 phpdoc fixes, unused variable 2014-01-12 23:40:21 +04:00
Alexander Makarov
c3829a4fd0 Removed debug code 2014-01-12 23:39:42 +04:00
Qiang Xue
febce76397 fixed build break and fixed doc about exists/not exists. 2014-01-11 10:17:14 -05:00
Qiang Xue
7d08a09620 Fixes #1809: Added support for building "EXISTS" and "NOT EXISTS" query conditions 2014-01-11 08:35:43 -05:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
Qiang Xue
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
Carsten Brandt
776162b05e created StringHelper::basename()
In contrast to php function basename() It that always uses \ and /
as directory separator.
It is needed for use on Classnames that contain namespaces.
Fixes #192
2013-05-09 13:16:40 +02:00
Dev-Speranza
6ed419849e Fix $schemaMap declaration for Mssql driver 2013-05-09 02:40:02 +03:00
Qiang Xue
11bebaa8bf Merge pull request #184 from andersonamuller/patch-1
Typo in isNewRecord property of ActiveRecord
2013-05-08 10:20:21 -07:00
Anderson Müller
78b6607c11 Fixes doc block in findWith method of ActiveRelation 2013-05-08 19:14:35 +02:00
Anderson Müller
45e987d26c Typo in isNewRecord property of ActiveRecord 2013-05-08 20:09:34 +03:00
Qiang Xue
55cc8813c7 Fixes issue #171 2013-05-07 19:31:35 -04:00
Alexander Kochetov
684295fe0b Fixes 2013-05-07 20:11:31 +04:00
Alexander Kochetov
48d04fbb8c !== array() => !empty() 2013-05-07 19:57:27 +04:00
Alexander Kochetov
d7df7053e0 === array() => empty() 2013-05-07 19:51:29 +04:00
Qiang Xue
901dabc301 Merge pull request #162 from creocoder/active-record-get-relation
ActiveRecord::getRelation() bugfix
2013-05-07 07:51:49 -07:00
Alexander Kochetov
e3f6faf575 && => || fix 2013-05-07 18:40:31 +04:00
Alexander Kochetov
37f3a400cd ActiveRecord::getRelation() bugfix 2013-05-07 18:36:38 +04:00
Alexander Kochetov
f12518f45c ActiveRecord::insert() and ActiveRecord::update() refactoring 2013-05-07 18:10:50 +04:00
Qiang Xue
f3c17594c6 Fixes issue #155. 2013-05-07 07:18:39 -04:00
Qiang Xue
034d88e5e4 Fixes issue #134 2013-05-06 08:04:35 -04:00
resurtm
e9ad7d6e36 Rollback word consistencty over entire codebase (ref. #139). 2013-05-06 17:46:34 +06:00
Zander Baldwin
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Qiang Xue
6166e70f20 Fixes issue #80 2013-05-04 20:17:43 -04:00
Alexander Kochetov
ddf67f0833 Code style fix 2013-05-05 03:18:37 +04:00
Alexander Makarov
03cd47aed9 phpdoc typos 2013-05-05 01:26:40 +04:00
Qiang Xue
15b9f97ca4 Fixed typo in query builder and reverted changes to DbCache.php 2013-04-23 16:48:14 -04:00
Alexander Makarov
3e2e4afa85 fixed DB quoting typo 2013-04-23 14:15:22 +04:00
Qiang Xue
2026d3824b allow using existing column to store lock version. 2013-04-01 08:32:52 -04:00
Qiang Xue
c6a1327897 renamed lockVersion to optimisticLock 2013-03-31 22:09:13 -04:00
Qiang Xue
7de94d7fe9 Implemented optimistic locking for AR. 2013-03-31 22:03:51 -04:00
Qiang Xue
906e402ba8 ActiveRecord::update() and ActiveRecord::delete() now returns the number rows affected. 2013-03-31 21:20:42 -04:00
Qiang Xue
b0cc86dfcd added Command::getRawSql() 2013-03-30 21:39:31 -04:00
Qiang Xue
597082a11a Automatic table and column name quoting. 2013-03-30 18:28:54 -04:00
Qiang Xue
6a2bfae41c use parameter binding for query builder. 2013-03-29 23:32:34 -04:00
Qiang Xue
e7295ad564 Use __METHOD__ as log category. 2013-03-28 20:07:49 -04:00
Qiang Xue
1fbf81be57 User WIP. 2013-03-28 17:43:27 -04:00
Qiang Xue
e1acc64b2b refactoring cache and db references. 2013-03-27 17:09:18 -04:00
Qiang Xue
392b293d33 FragmentCache WIP 2013-03-25 14:27:15 -04:00
Qiang Xue
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00