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

1684 Commits

Author SHA1 Message Date
Jonathan.Wage
562a48769c fixes #568 2007-11-27 03:36:40 +00:00
Jonathan.Wage
7389d82834 fixes #547 2007-11-27 02:50:56 +00:00
jackbravo
a7b86faadf Added mergeDeep method to Doctrine_Record.
Be carefull when using it as it loads related records.
But can be really convenient, specially when loading data from the
_GET and _POST variables (possibly from a form)
2007-11-26 22:52:36 +00:00
zYne
377d157a00 2007-11-26 22:27:23 +00:00
zYne
eb555668d2 2007-11-26 22:25:18 +00:00
guilhermeblanco
d411ba4233 Implemented Doctrine_Pager_Layout, providing a programatically way to generate paginator layout using Doctrine_Pager and Doctrine_Pager_Range components 2007-11-26 16:27:24 +00:00
zYne
2fef2fd1a4 2007-11-26 00:07:09 +00:00
zYne
8711b28765 fixed code formatting 2007-11-25 23:59:54 +00:00
zYne
18fc6b4aa6 fixed initialize 2007-11-25 23:57:10 +00:00
Jonathan.Wage
84a97f98ed Fixes #618 2007-11-25 21:39:39 +00:00
zYne
391cdfab01 doc blocks added 2007-11-25 21:16:44 +00:00
zYne
2174bc99e7 enhanced the internal API of various plugins 2007-11-25 21:10:49 +00:00
Jonathan.Wage
3429b18cc9 Fixes #610 2007-11-25 20:45:33 +00:00
Jonathan.Wage
c483704a5e Fixes #613 2007-11-25 20:36:12 +00:00
Jonathan.Wage
63815bacca Removed. Will be replaced by native Resource connection driver. 2007-11-25 20:32:34 +00:00
Jonathan.Wage
2bd3667750 A few fixes to Migrations and formatting/code fixes. 2007-11-25 20:30:51 +00:00
zYne
4a99e766a3 changed autoinc key to autoincrement 2007-11-25 20:22:50 +00:00
guilhermeblanco
33ed595536 Implemented Doctrine_Pager_Range functionality. This classes enables a powerful way to generate page ranges (Fowler's pattern) to be used coupled with Doctrine_Pager. Already implemented 2 of the most used ranges: Doctrine_Pager_Range_Jumping and Doctrine_Pager_Range_Sliding. 2007-11-25 20:16:14 +00:00
guilhermeblanco
139720fb9f CHG: Updated Doctrine_Pager to become coding standards compliant 2007-11-25 19:09:51 +00:00
romanb
05147fbeb6 Completed implementation of the query cache. 2007-11-25 19:07:30 +00:00
guilhermeblanco
bbfa506da8 CHG: Added Doctrine_Pager object, which provides Paginator functionalities to Doctrine. 2007-11-25 18:33:49 +00:00
romanb
352ab0de40 renamed the default hydrator. started to implement a query cache. 2007-11-25 15:57:08 +00:00
zYne
ae4b715754 enhanced plugin building procedure 2007-11-25 12:34:37 +00:00
zYne
4570b90079 fixed CTI column referencing within DQL 2007-11-25 12:02:04 +00:00
romanb
0cda367802 moved tokenizeQuery() to the Tokenizer 2007-11-24 19:08:41 +00:00
romanb
90d472eb98 prepared the tokenizer for getting a state and being a full-fledged object 2007-11-24 18:58:33 +00:00
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
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
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
romanb
d645b1659c More refactorings 2007-11-19 17:55:23 +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
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
Jonathan.Wage
2c24b00385 Fixed issue with foreign constraint errors and saving order. 2007-11-16 22:27:28 +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