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

3097 Commits

Author SHA1 Message Date
romanb
18ae694e29 Removed test code 2007-11-24 18:13:00 +00:00
romanb
02e0aff3b9 Added missing file 2007-11-24 18:12:02 +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
wernerm
24a8cef0e6 Fixed getLoadedModels() 2007-11-23 00:28:58 +00:00
wernerm
54050f8c81 Fixed getLoadedModels() 2007-11-23 00:25:28 +00:00
zYne
86939d83bd fixed removeColumn() 2007-11-22 22:02:35 +00:00
zYne
fbd4e86912 2007-11-22 21:19:02 +00:00
wernerm
5d3b09524c Added isValidModelClass() static method and fixed getLoadedModels() in order to resort back to the (classical) approach of class inclusion as a fallback when record classes have different names than their file names. The fallback behaviour of getLoadedModels() is now similar to what is was before the changes introduced in rev 3002. 2007-11-22 13:40:22 +00:00
romanb
929273a0f1 More refactorings and small speed improvements on the default hydrator. 2007-11-21 14:29:59 +00:00
romanb
205c50ea39 commented out a test line 2007-11-21 11:58:39 +00:00
romanb
eeb7350f6c commented out a test line 2007-11-21 11:57:23 +00:00
romanb
a4a1a3f577 Started refactoring of the default hydrator, including some minor speed tweaks. 2007-11-21 11:55:05 +00:00
BjornW
ea3935bc44 fixed http://doctrine.pengus.net/trac/ticket/609 2007-11-20 21:15:41 +00:00
zYne
42d6a4a333 some docs for arithmetic functions 2007-11-20 19:30:05 +00:00
zYne
3fe787972a 2007-11-20 19:22:33 +00:00
zYne
050c76bfdc 2007-11-20 19:19:55 +00:00
romanb
156cfd4a27 Introduced a separation of the 2 concerns: 1) Query construction 2) Result hydration.
Makes it easier to see the dependencies between these two concerns, cache the results of the query parsing process later on, implement & use alternative hydrators to experiment with different algorithms etc. etc.
Other small refactorings.
2007-11-20 14:26:42 +00:00
jepso
8195898ff7 fixed another test case broken by changeset 3187 2007-11-19 19:16:15 +00:00
jepso
01f2ee7f97 fixed search tests that were broken by changeset 3187 2007-11-19 18:03:30 +00:00
romanb
d645b1659c More refactorings 2007-11-19 17:55:23 +00:00
BjornW
477199b0af - clarified the chapter 6 relations introduction on relation aliasses
- fixed typo
2007-11-19 12:50:02 +00:00
romanb
ba9e4676fa 2007-11-19 10:00:44 +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
zYne
7af31c0c51 added getWords() 2007-11-18 17:44:47 +00:00
jepso
309c2936f7 reversed the order of search results 2007-11-18 17:44:08 +00:00
zYne
5d5e81ae04 2007-11-18 17:36:32 +00:00
romanb
2a3b6d23b6 Removed some redundant code 2007-11-18 17:28:38 +00:00
romanb
82432246b9 Doctrine_Migration::setTableName now takes the ATTR_TBLNAME_FORMAT into account 2007-11-18 16:42:33 +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
meus
95792cdb17 fixes #596. Added suggested patch 2007-11-18 12:37:46 +00:00
meus
554b961a65 fixed location of sandbox in docs 2007-11-18 01:39:32 +00:00
Jonathan.Wage
2c24b00385 Fixed issue with foreign constraint errors and saving order. 2007-11-16 22:27:28 +00:00
gnat
417c361abc close bug #603 typo 2007-11-16 18:10:33 +00:00
Jonathan.Wage
e96b754d7d Fixes #602 2007-11-16 17:40:29 +00:00
Jonathan.Wage
687187d21a Updated I18n example. 2007-11-16 17:24:06 +00:00
adrive
23cc4af209 Changed author in Ticket #480 test case to me 2007-11-16 10:35:03 +00:00
adrive
18c40c3b5e Added test case for Ticket #480 2007-11-16 09:53:02 +00:00
Jonathan.Wage
cb2d131364 Fixed so packages folder is not created unless it is needed/used. 2007-11-15 23:26:29 +00:00
Jonathan.Wage
85ef90fd02 Fixed connection binding so it is only put in the base class. 2007-11-15 23:22:18 +00:00
Jonathan.Wage
6db25011a7 Added docs and enhanced fromArray() 2007-11-15 22:45:09 +00:00
zYne
c97fc19da4 2007-11-15 22:12:00 +00:00
Jonathan.Wage
91cb642d7f Moved loadTemplate() and actAs() generating to the setUp() method 2007-11-15 22:07:58 +00:00
zYne
de16517991 2007-11-15 22:01:39 +00:00
Jonathan.Wage
281acef57d Added information for Zend framework ports. 2007-11-15 21:05:10 +00:00
Jonathan.Wage
04f74dc089 Initial entry of Doctrine_Log(ported from Zend_log) 2007-11-15 21:02:17 +00:00
Jonathan.Wage
e8087eb53f Fixed issue with create() and the array of passed data 2007-11-15 21:01:19 +00:00
Jonathan.Wage
f11e95497c Fixed issue with data dumping. Added exception throwing when you use data key that does not exist. 2007-11-15 19:46:17 +00:00
Jonathan.Wage
15bf4d70e0 Fixed issue with specifying directory as schema 2007-11-15 19:43:49 +00:00
wolfpakz
caa3f47666 - Fixed class not found error for PluginSymfonyRecord 2007-11-15 19:14:43 +00:00
wolfpakz
dc0616ffb0 - Fixed order of assertions in export model from directory test. 2007-11-15 17:05:53 +00:00