1
0
mirror of synced 2024-12-13 14:56:01 +03:00
Commit Graph

235 Commits

Author SHA1 Message Date
zYne
20c342609d added Doctrine_Transaction missing from the previous commit 2006-09-20 09:36:31 +00:00
zYne
7b52c80c53 Refactored Doctrine_Connection: separated into two different classes Doctrine_Connection and Doctrine_Transaction 2006-09-20 09:35:29 +00:00
elliot
8edafac8e4 Changed ValidatorUSState to conform to the standard Doctrine_Validator_* naming scheme and removed the old style from Doctrine_Validator 2006-09-20 09:30:39 +00:00
elliot
89e1215296 Changed DQLException, InvalidKeyException and InvalidTypeException to inherit Doctrine_Exception 2006-09-20 09:26:26 +00:00
zYne
c8918b0d4c added Doctrine_Collection_Exception 2006-09-19 21:15:07 +00:00
zYne
74128a95d9 Fixed syntax error 2006-09-18 20:11:21 +00:00
zYne
d1047adb1d Inheritance bug fix 2006-09-18 19:52:17 +00:00
zYne
f2a2d3e51e Fixed DQL OrderBy parser bug 2006-09-18 17:32:12 +00:00
zYne
bb2a1312ed count() fixed 2006-09-17 18:49:45 +00:00
zYne
1b0d2c78b2 new method isDistinct 2006-09-17 18:31:28 +00:00
zYne
41ee9173f1 method name changes for better custom getter/setter compatibility
Doctrine_Record::getID() -> obtainIdentifier()
Doctrine_Record::setID() -> assignIdentifier()
2006-09-17 17:59:04 +00:00
zYne
ddbf6c949b Fixed default value support + camelCase column problems 2006-09-17 15:44:10 +00:00
zYne
75284895d3 2006-09-17 14:54:43 +00:00
sopel
1b96c5da16 Email validator rewrite (Ticket #6) 2006-09-16 21:49:54 +00:00
sopel
2ab8c4e5f4 Credit card validator added (Ticket #15) 2006-09-15 22:40:18 +00:00
zYne
46bc40f732 Fixed pessimistic locking manager 2006-09-15 21:04:06 +00:00
zYne
1c782a086d Support for application level default values 2006-09-15 20:56:25 +00:00
zYne
7914695e6a DQL update: AND an OR as equivalent operators for && and || 2006-09-15 10:48:59 +00:00
zYne
120d18565c Tests and implementation for DQL functions contains(), like() and regexp() 2006-09-15 10:04:22 +00:00
zYne
060739d72c added Regexp operator compatibility for mysql and pgsql drivers 2006-09-15 09:08:44 +00:00
zYne
eacb78148e added new DQL function: contains 2006-09-14 21:10:02 +00:00
pookey
b84c7f4ce3 pookey: standards complience change 2006-09-14 13:40:29 +00:00
zYne
871f3c418d DQL enum type support (still not working for prepared queries) 2006-09-13 20:47:29 +00:00
zYne
0cbc7031ce Nospace validator fixed 2006-09-13 18:19:24 +00:00
zYne
868e0bcae7 added Doctrine_Access::__isset() and Doctrine_Access::__unset() for complete support of magic method invocations 2006-09-13 09:40:22 +00:00
pookey
5f44b71af6 more fixed to make it strict compatable 2006-09-12 22:30:41 +00:00
pookey
1c818f51fa fix to make it standards strict 2006-09-12 22:26:21 +00:00
zYne
16d964e4ba Fixed the core get() / set() issue 2006-09-12 21:36:36 +00:00
zYne
6e7cc43204 added Doctrine_Association_Self 2006-09-12 17:40:54 +00:00
zYne
e49319f490 New component Doctrine_EventListener_AccessorInvoker for automatic invoking of get* and set* methods 2006-09-12 10:15:58 +00:00
zYne
92b7f2a03d phpType() as static method 2006-09-12 09:07:43 +00:00
zYne
3dca74f2d2 Association self-referencing fetching now works (still not integrated into DQL) 2006-09-11 21:46:01 +00:00
zYne
fadef335c4 Validator now supports all doctrine types 2006-09-11 20:51:24 +00:00
zYne
bce726d66c Doctrine_Collection::loadRelated() bug fixed 2006-09-08 23:20:51 +00:00
zYne
d6eb961c0c loadRelated() now works for many-to-many associations 2006-09-08 22:02:38 +00:00
zYne
65c9e56c86 toArray() added 2006-09-07 21:28:47 +00:00
zYne
af59b140e0 doc blocks updated 2006-09-07 21:25:47 +00:00
zYne
16fad08f01 2006-09-07 21:25:08 +00:00
amadeus
e21562b057 fixed Record::hasRelation() to call Table::hasRelation() instead of old Table::hasForeignkey() 2006-09-05 22:09:07 +00:00
amadeus
946e3f1c5d Fixed to prevent custom message from being overidden by default 2006-09-05 20:53:44 +00:00
zYne
12a21ba50e Doctrine_Query::create() added for lazy folks 2006-09-04 20:01:02 +00:00
zYne
276af65256 Support for passing an array as constraint/validator argument 2006-09-04 06:55:16 +00:00
zYne
7bb07a5be1 Syntax error fix 2006-09-04 06:27:27 +00:00
zYne
2e3f800265 Removed indexGenerator 2006-09-04 06:23:38 +00:00
pookey
b340bfe11d removing the closing PHP tags form all php files, it\'s not needed and can break sessions which are whitespace sensitive 2006-09-03 22:46:30 +00:00
pookey
fb2a3bfde9 when using Doctrine::compile(), having the require_once()'s in the source files will break things. This is because the file hasn't been included, but the class has been defined in the compiled file. This means you have to rely on autoload to allow compile to function (or strip out all require_once's from the code on compile, but atleast one needs to be maintained). IMPORTANT: you MUST now use autoload. 2006-09-03 22:37:54 +00:00
zYne
087de88f7c Case insensitive column names 2006-09-03 19:20:02 +00:00
zYne
c5e4f366d4 Tests for covering the Doctrine_Collection::loadRelated functionality for basic many-to-many relations 2006-09-03 17:32:35 +00:00
zYne
1d4a59b772 added PDO-hacked metaTables and metaColumns methods 2006-09-02 08:38:03 +00:00
zYne
da9d179d9f Support for mapping table column values as collection indexes 2006-09-01 21:30:18 +00:00
zYne
f11fe0ca34 Possibility to pass the hasColumn constraint/validator arg as an array 2006-08-31 10:00:09 +00:00
zYne
c929174385 Doctrine_Table::getForeignKey -> Doctrine_Table::getRelation 2006-08-31 09:04:14 +00:00
zYne
fb77e2f5d4 By default mysql connection doesn't use DQL record limit (it doesn't support limit in subqueries yet) 2006-08-30 07:18:02 +00:00
zYne
85a799eaaa 2006-08-29 20:37:55 +00:00
zYne
2dd3e9743a Doctrine::ATTR_QUERY_LIMIT constant added 2006-08-29 20:09:31 +00:00
zYne
fa633fb7dd Little isValidClassname fix 2006-08-29 19:34:03 +00:00
zYne
31bfa23340 Sqlite datadict driver skeleton added 2006-08-27 19:25:24 +00:00
jhassine
8c294ababa * Added some test cases for the importing part. The new tests will fail for now because of the lacking implementation.
Refs #11
2006-08-27 02:21:20 +00:00
jhassine
fd3bffc7d5 * Added Schema classes and some testcases (refs #11) 2006-08-26 22:27:16 +00:00
zYne
9bd341d708 Doctrine_Record::countRelated() added 2006-08-25 23:50:55 +00:00
zYne
5b0858cfb9 Query count() fix 2006-08-25 21:20:44 +00:00
zYne
cfa6a512f3 Fixed ticket #26 2006-08-25 20:13:37 +00:00
zYne
d283fbf1c7 Preliminary support for DQL aggregate value selecting 2006-08-25 18:17:20 +00:00
zYne
f547396124 Little fix for cleanData method 2006-08-25 17:17:55 +00:00
zYne
46f2cbe426 Fixed cleanData method 2006-08-25 17:13:21 +00:00
zYne
37b3ad1434 Fixed Doctrine_Record::exists() and removed final attribute since its *not* a method that is used by Doctrine internally 2006-08-25 15:21:23 +00:00
amadeus
c71ce5cd05 set method exists() to final 2006-08-24 18:44:10 +00:00
amadeus
11efc8e7cc Added exists() to check for existence of data, getColumnCount() as alias to count() and renamed has() to hasRelation() for clarity 2006-08-24 16:34:05 +00:00
zYne
70c57c7f08 Firebird LIMIT support updated, severe query parser bug fixed 2006-08-23 10:11:40 +00:00
zYne
3adb4338b1 2006-08-22 20:14:29 +00:00
zYne
8e3aead181 Tests updated for classify / tableize 2006-08-22 19:34:40 +00:00
zYne
fa61f3448f Missing Connection file added 2006-08-22 18:03:16 +00:00
zYne
7f7aa89874 Ip and blank validators updated 2006-08-22 08:47:27 +00:00
zYne
1cc24ebc59 2006-08-21 23:21:16 +00:00
zYne
5f1c8d10b1 2006-08-21 23:21:01 +00:00
zYne
66dce0416d 2006-08-21 23:19:48 +00:00
zYne
034744caeb 2006-08-21 23:19:15 +00:00
zYne
f10d1fca7e 2006-08-21 23:16:55 +00:00
zYne
58f09c40f8 2006-08-21 23:15:17 +00:00
zYne
6fffa9e68d Manual codes updated Session -> Connection 2006-08-21 22:51:27 +00:00
zYne
acced2b987 DQL Limit now works with normal many-to-many relations as well as many-to-many relations using column aggregation inheritance 2006-08-21 22:24:09 +00:00
zYne
7ca5397054 Session flushing bug with proxy objects fixed 2006-08-21 22:04:13 +00:00
zYne
bdce1d8d62 little DQL LIMIT fix 2006-08-21 21:04:20 +00:00
zYne
beda312f1c DQL Limit now works with prepared queries 2006-08-21 20:36:11 +00:00
zYne
f3c0a27d6b Ability to pass null to rawSql / Query constructor, Doctrine uses then the current connection 2006-08-21 19:48:24 +00:00
amadeus
392683e10d Added Doctrine::tableize(), Doctrine::classify() and DataDict::isValidClassname() for proper table naming. Fixed Table() to accept these (more need to be changed such as rawsql).Also fixed unbind method (missing argument) 2006-08-21 15:30:18 +00:00
zYne
b887ca946f Transaction introduction updated 2006-08-21 11:18:28 +00:00
zYne
8755e5ab50 DQL - SQL conversion LIMIT clause parsing examples added 2006-08-21 10:43:44 +00:00
zYne
45bca0358a Docs updated 2006-08-21 10:16:36 +00:00
zYne
f44cc73215 Minor rawSql fix 2006-08-20 19:25:04 +00:00
zYne
38a4a23c5e rawSql parser fixed 2006-08-20 19:21:52 +00:00
zYne
5059dbc90d Sqlite Datadict updated, Doctrine_Record::merge fixed 2006-08-20 18:52:07 +00:00
zYne
33d8f27e8e Started seamless changing of the name Session to Connection 2006-08-17 22:53:52 +00:00
zYne
c9b9017985 Docs updated, more tests for DQL LIMIT 2006-08-17 09:42:18 +00:00
zYne
593d5bb847 DQL LIMIT improved 2006-08-16 09:17:43 +00:00
zYne
f7602a3bf5 DQL Limit rewrite 2006-08-15 23:25:53 +00:00
pookey
b022675ab7 little refactorings 2006-08-15 21:33:41 +00:00
pookey
e75f3598c3 Relation fetching refactoring 2006-08-15 21:33:18 +00:00
pookey
76081664b5 Empty values now pass email validator 2006-08-15 21:32:59 +00:00
pookey
f5e54ad77c Doctrine_Session_Mssql::modifyLimitQuery() added 2006-08-15 21:32:33 +00:00