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

69 Commits

Author SHA1 Message Date
zYne
ffde5546f8 fixes #104 2006-09-24 09:52:04 +00:00
romanb
09d249e549 - Lazy connections possible through Doctrine_Manager::addDSN($dsn, $connectionName). Connections will then be opened automatically when they are requested the first time.
Changes concerning multiple connection control:
- injection of the Connection object into the Doctrine_Table constructor, instead of a static lookup.
- added optional Connection parameter to save/delete of Doctrine_Record and Doctrine_Collection
2006-09-22 19:23:57 +00:00
zYne
1862f00fc6 new Doctrine_DB to the draft 2006-09-21 21:09:58 +00:00
zYne
6402b73b08 Fixed Doctrine_EventListener_Chain, renamed onPreSetProperty to onSetProperty 2006-09-21 12:15:48 +00:00
zYne
43980029d4 Gzip datatype added 2006-09-20 15:46:25 +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
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
1c782a086d Support for application level default values 2006-09-15 20:56:25 +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
zYne
16d964e4ba Fixed the core get() / set() issue 2006-09-12 21:36:36 +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
3dca74f2d2 Association self-referencing fetching now works (still not integrated into DQL) 2006-09-11 21:46:01 +00:00
zYne
bce726d66c Doctrine_Collection::loadRelated() bug fixed 2006-09-08 23:20:51 +00:00
zYne
65c9e56c86 toArray() added 2006-09-07 21:28:47 +00:00
amadeus
e21562b057 fixed Record::hasRelation() to call Table::hasRelation() instead of old Table::hasForeignkey() 2006-09-05 22:09:07 +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
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
85a799eaaa 2006-08-29 20:37:55 +00:00
zYne
9bd341d708 Doctrine_Record::countRelated() added 2006-08-25 23:50:55 +00:00
zYne
cfa6a512f3 Fixed ticket #26 2006-08-25 20:13:37 +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
034744caeb 2006-08-21 23:19:15 +00:00
zYne
7ca5397054 Session flushing bug with proxy objects fixed 2006-08-21 22:04:13 +00:00
zYne
5059dbc90d Sqlite Datadict updated, Doctrine_Record::merge fixed 2006-08-20 18:52:07 +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
doctrine
7f5844d1db Doctrine_Record_Exception: better handling of error messages 2006-08-07 20:58:09 +00:00
doctrine
8d6c72cdcd added Doctrine_Record::merge() 2006-08-06 20:55:54 +00:00
doctrine
becda3e876 2006-07-30 21:37:54 +00:00
doctrine
d899509c25 minor bug fix 2006-07-30 21:37:07 +00:00
doctrine
7a020a524b support for normal identifiers 2006-07-27 18:31:18 +00:00
doctrine
7119471b48 Doctrine_Collection::loadRelated() added 2006-07-27 17:51:19 +00:00
doctrine
3cd669ad9c [amadeus] added Record::has() and Table::hasForeignKey(),hasRelatedComponent() 2006-07-26 17:17:59 +00:00
doctrine
a20d0544dd CustomPrimaryKeyTestCase added 2006-07-26 17:09:00 +00:00
doctrine
50cced9e54 removed duplicate preSave listener event - also called in Session 2006-07-22 00:58:07 +00:00
doctrine
17b452b2ce new component: Doctrine_RawSql 2006-07-21 23:22:15 +00:00
doctrine
4df1a9d1ca Record refactoring + new method Doctrine_Manager::install 2006-07-10 18:10:54 +00:00
doctrine
bb1a39683c Core changes: getID() now returns array for better composite primary key support 2006-07-10 09:18:09 +00:00
doctrine
143b274964 Query parser refactoring 2006-06-29 23:04:39 +00:00
doctrine
cff3c43017 DQL: improved self-reference handling 2006-06-26 21:18:19 +00:00