1
0
mirror of synced 2024-12-13 06:46:03 +03:00
Commit Graph

292 Commits

Author SHA1 Message Date
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
7ef7031c37 toArray test cases 2006-09-07 21:30:21 +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
pookey
ae534f69ff minor changes to Doctrine::compile(), adding extra error handling and improving docs 2006-09-03 21:32:56 +00:00
zYne
1a265b0750 removed debugging 2006-09-03 19:26:32 +00:00
zYne
087de88f7c Case insensitive column names 2006-09-03 19:20:02 +00:00
zYne
9046569d68 Doctrine::compile fixed 2006-09-03 18:31:15 +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
90bd728d81 Support for collection key mapping 2006-09-01 21:56:55 +00:00
zYne
da9d179d9f Support for mapping table column values as collection indexes 2006-09-01 21:30:18 +00:00
zYne
155f5193ec New fetchmode constants (implementation later) 2006-08-31 22:00:44 +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
14781f1dd3 RawSql docs + codes updated 2006-08-30 23:02:12 +00:00
zYne
f1df26991f Code example for setting validators 2006-08-30 22:45:13 +00:00
zYne
3b8b1a4e88 Added connection & collection introductions + first code examples for Doctrine_View 2006-08-30 22:43:11 +00:00
zYne
77a69bc57e Docs for autoincrement and composite identifiers 2006-08-30 22:40:03 +00:00
zYne
713a49a075 Record introduction added 2006-08-30 22:38:11 +00:00
zYne
9f03f21df7 Docs updated (added also empty files for missing docs/codes) 2006-08-30 11:37:09 +00:00
zYne
186b4465ad Docs updated 2006-08-30 11:23:22 +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
82c13ca1da Doctrine::compile() refactored 2006-08-27 19:39:05 +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