1
0
mirror of synced 2024-12-15 15:46:02 +03:00
Commit Graph

121 Commits

Author SHA1 Message Date
romanb
79b79909ad Refactored transactions. Fixed #464. 2007-12-12 15:52:12 +00:00
romanb
af657cbe69 Introduced a new attribute ATTR_AUTOLOAD_TABLE_CLASSES that can be used to control whether Doctrine should try to autoload custom table class files when looking for them. 2007-12-06 19:02:29 +00:00
zYne
7e2669d1bd fixes #624 2007-11-28 23:06:04 +00:00
zYne
f8a0eb2e25 fixes #624 2007-11-28 22:13:12 +00:00
romanb
05147fbeb6 Completed implementation of the query cache. 2007-11-25 19:07:30 +00:00
romanb
78f5a2edcb More refactorings. Commented out the plugin tests for now. They seem to wreak havoc with a lot of other tests (especially validator tests) and i havent found the reason yet. 2007-11-24 18:11:09 +00:00
romanb
d645b1659c More refactorings 2007-11-19 17:55:23 +00:00
meus
d5cc06e7b8 some small refactorings. adding docblocks. creating guard clauses. refactor our some code into methods. no aditional test failures so it looks ok. also added some @todo comments 2007-11-18 20:37:44 +00:00
romanb
cfc7d4e423 Refactoring. Started to introduced a clear separation between column names and field names (aka column aliases).\nDoctrine_Connection, DQL Parser classes/methods map field names => column names.\nDoctrine_Hydrate maps column names => field names during hydration.\nColumn names are only stored in Doctrine_Table:: and Doctrine_Table::.\nRelations use column names in 'local'/'foreign'.\nWhen using field names (column aliases) you need to use the column names in 'local'/'foreign' when setting up a relation (hasOne/hasMany), not the field names.\n\n In other words column names are only used to communicate with the database. field names are used everywhere else. the casing of field names does not matter. column names are forced to lower case for portability. If you dont use field names (column aliases) your column names are your field names (and therefore all lowercase). 2007-11-18 16:06:37 +00:00
zYne
bd31958035 drafting the initial CTI support 2007-11-10 13:21:40 +00:00
zYne
8f11427595 added Doctrine_Connection::delete() method (needed as a convenience method as well as for the upcoming CTI support) 2007-11-10 10:37:10 +00:00
zYne
a8d9830dda added update() method, needed for various things but especially for the CTI implementation 2007-11-10 00:57:13 +00:00
gnat
0695a6ab92 $this->parent doesn't exist 2007-10-30 17:51:33 +00:00
Jonathan.Wage
6334c5a165 Reversing fix. 2007-10-25 16:02:00 +00:00
Jonathan.Wage
ab597cdf30 Fixes [ticket:500] 2007-10-25 14:18:26 +00:00
Jonathan.Wage
27b369a5f3 Mass search and replace for coding standards changes, doc block formatting, and code spacing. 2007-10-21 06:23:59 +00:00
Jonathan.Wage
e2a204e0dc Enhancing CLI. New commands and cleaning up. 2007-10-20 19:14:30 +00:00
zYne
ead84035f8 2007-10-15 22:01:04 +00:00
zYne
d6ef2b3f4e removed deprecated attribute from getTable() 2007-10-15 20:56:23 +00:00
zYne
7d7313ab4a 2007-10-13 17:06:26 +00:00
zYne
c69c0c5d53 support for persistent connections, fixes #447 2007-10-08 23:22:31 +00:00
zYne
dc4d96e92f 2007-10-07 22:21:01 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
jackbravo
9b5246368e Added FETCH_ARRAY support for table finder methods, fixes bug #397 2007-09-01 19:44:38 +00:00
zYne
3fe5b807a1 2007-09-01 17:35:44 +00:00
zYne
07c5c92e73 deletes are no longer stacked in the end of transaction, now transactional integrity is always assured 2007-09-01 17:28:11 +00:00
zYne
4fc6efd82f fixes #440 2007-08-29 21:57:46 +00:00
jackbravo
777539fbf3 Fixed bug on columns not being quoted on INSERT statements, reported by email by Gavin Mogan 2007-08-25 00:34:25 +00:00
jackbravo
7fc767794e Amend: this was not yet to be commited 2007-08-24 22:00:05 +00:00
jackbravo
17913f5860 Clearer fix for nesting level too deep bug, use in_array with strict flag (use === instead of ==) 2007-08-24 21:43:50 +00:00
Jonathan.Wage
b4600960fd Changed imprt back to import as variable names are not affected by change to php 2007-08-16 21:54:14 +00:00
nicobn
a062835e43 'import' is a reserved word in PHP 6. Changed all method names / properties name from import to imprt. This means the documentation will need to be changed 2007-08-15 14:49:00 +00:00
jackbravo
391bdc88a1 set isConnected to false when the connection is closed 2007-08-09 22:26:57 +00:00
meus
c9d6a046fa fixing issue mention on the mailing list by tl@hdnet.de at 2.aug 2007-08-02 19:28:46 +00:00
zYne
3502fd9299 identifier quoting fix 2007-07-12 22:31:16 +00:00
zYne
c1511dd391 2007-07-11 22:03:47 +00:00
zYne
cc7b1367fa support for expressional column values 2007-07-01 11:27:45 +00:00
subzero2000
d4bc0d3637 Ensure usage of Doctrine_Connection_Statement rather than PDOStatement in Doctrine_Connection::execute(). Fixes #365 2007-06-26 22:29:31 +00:00
zYne
8b8ae07e00 2007-06-26 12:08:50 +00:00
zYne
f86ac4c8e2 getDbh() now auto-connects 2007-06-25 19:56:15 +00:00
zYne
fb46481ab2 added namespaces for event constants 2007-06-25 17:24:20 +00:00
zYne
e1fbae22a4 EventListener method names updated 2007-06-25 10:08:03 +00:00
zYne
113ac3b9e0 1. Merging two event listener APIs
2. Merging Doctrine_Db functionality into Doctrine_Connection

3. Merging Doctrine_Db modules to Doctrine_Connection plugins
2007-06-19 23:33:04 +00:00
zYne
c5291aedd7 2007-06-15 11:56:55 +00:00
zYne
d72c9a23cd fixes #345 2007-06-14 21:50:12 +00:00
zYne
8007b32ca0 drafting Doctrine_Db functionality into connection class 2007-06-12 19:39:03 +00:00
zYne
8ee01ce3b2 2007-06-11 23:37:24 +00:00
zYne
8eef3f44c4 updated doc blocks, added savepoint as optional transaction parameter 2007-06-11 23:25:46 +00:00
zYne
2a99edae06 2007-06-05 22:37:38 +00:00