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

164 Commits

Author SHA1 Message Date
romanb
51c88e2020 Merged 3405 (Fixed #626) from 1.0 branch. 2007-12-15 19:19:31 +00:00
adamthehutt
13b5346a4f Fix for #669 2007-12-11 23:03:57 +00:00
romanb
532dea0dd2 Fixed #662 2007-12-11 15:25:56 +00:00
romanb
28fba54f4a Another hydrator speed improvement. 2007-12-02 15:04:51 +00:00
jackbravo
deabfcbb54 Fix ticket #620, PATCH provided by baron314159, thanks 2007-11-30 22:46:06 +00:00
zYne
69985832a7 2007-11-28 22:56:45 +00:00
zYne
80bb1ed071 added getPlugins() 2007-11-27 16:08:34 +00:00
zYne
eb555668d2 2007-11-26 22:25:18 +00:00
zYne
86939d83bd fixed removeColumn() 2007-11-22 22:02:35 +00:00
romanb
a4a1a3f577 Started refactoring of the default hydrator, including some minor speed tweaks. 2007-11-21 11:55:05 +00:00
romanb
d645b1659c More refactorings 2007-11-19 17:55:23 +00:00
romanb
ba9e4676fa 2007-11-19 10:00: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
Jonathan.Wage
e8087eb53f Fixed issue with create() and the array of passed data 2007-11-15 21:01:19 +00:00
zYne
bd31958035 drafting the initial CTI support 2007-11-10 13:21:40 +00:00
zYne
5bb4493864 Drafting the initial CTI support, only works for simple inserts now 2007-11-08 23:03:28 +00:00
dbrewer
3f3103a195 Fixed #587: added 'removeRecord()' method to Doctrine_Table, which is
called in Doctrine_Connection_UnitOfWork->delete().
2007-11-08 22:35:55 +00:00
romanb
dfd15a6068 Introduced ATTR_TBLNAME_FORMAT. Closes #257 2007-10-30 13:30:50 +00:00
zYne
a4ae926a85 added isIdentifier() 2007-10-22 17:33:47 +00:00
Jonathan.Wage
edc03d5a33 Added magic finder methods. findBy(.*) and findOneBy 2007-10-21 07:24:18 +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
zYne
ead84035f8 2007-10-15 22:01:04 +00:00
zYne
c4b3a18a59 table refactoring continues 2007-10-15 21:39:35 +00:00
zYne
3b8efd07e6 added initIdentifier() 2007-10-15 20:43:24 +00:00
zYne
f3867dbf71 2007-10-12 21:32:26 +00:00
zYne
18857d77e4 hasTemplate() added 2007-10-08 21:22:13 +00:00
adamthehutt
6b26a7b813 Fix for ticket #457, moves Doctrine_Record::find/One() to Doctrine_Table::execute/One()
Ticket: 457
2007-10-08 16:39:12 +00:00
zYne
7391081d81 fixed fatal method delegation bug 2007-10-07 23:36:28 +00:00
zYne
7ecc82fded removed deprecated attributes, added bound query part functionality, fixed remaining I18n issues 2007-10-05 21:18:40 +00:00
zYne
7c0aca3cd2 2007-10-05 20:29:33 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
mahono
e670e2ab5f added possibility to use an aliase with Doctrine_Table->createQuery() and some very small refactoring using createQuery() in Doctrine_Table 2007-10-02 11:28:26 +00:00
zYne
4eee98d526 2007-09-29 09:12:01 +00:00
zYne
bfa3ef5649 2007-09-21 13:48:31 +00:00
zYne
e05c0c8ab6 2007-09-20 20:58:54 +00:00
zYne
e24d9c69dd refactoring the table class 2007-09-20 20:53:15 +00:00
zYne
2169cbe95e 2007-09-20 20:48:53 +00:00
zYne
be5eb98ebf 2007-09-20 20:21:08 +00:00
lsmith
bbf5b62a68 - not use the integer index, instead use the actual value for non emulated enums 2007-09-07 13:27:02 +00:00
zYne
88f60a022b 2007-09-06 20:59:13 +00:00
mahono
e20c213ae2 refactored Table->find() 2007-09-06 14:12:40 +00:00
mahono
814223bd39 * unified and simplified Hydrate->fetchOne() as well as Table->find()
* both always return reliable false if result is empty
2007-09-06 13:18:46 +00:00
jackbravo
1c5162eed2 Use array_shift, since the key may not allways be 0 2007-09-03 22:29:30 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
lsmith
0fdb229020 - added support for Doctrine::ATTR_USE_NATIVE_ENUM (defaults to off, no BC break) 2007-09-02 08:53:16 +00:00
jackbravo
9b5246368e Added FETCH_ARRAY support for table finder methods, fixes bug #397 2007-09-01 19:44:38 +00:00
zYne
224d3fb062 2007-09-01 15:51:46 +00:00
Jonathan.Wage
bf6ed870fa Added back getTemplates() function. Somehow was removed on accident 2007-08-27 15:04:32 +00:00
Jonathan.Wage
6ce7d88c0b Added ability to turn off foreign key sql exporting for specific models 2007-08-27 14:43:52 +00:00
zYne
ed8e90b8df 2007-08-17 21:21:52 +00:00