romanb
fc310cf36c
Fixed #626 . Commented out plugin tests due to a fatal error.
2007-12-01 11:18:43 +00:00
jackbravo
a73a73da66
Fix tickets #583 and #576
2007-12-01 01:21:55 +00:00
jackbravo
338bd78e66
Added a description to the Doctrine_Record::cleanData() method
2007-11-30 23:49:46 +00:00
jackbravo
b329ae870b
Added a $deep argument to refresh
...
The default is set to false because fetching the relations deletes
previously fetched relations =P. This is, if you fetched an aggregated
value (SUM, COUNT), it wont be refreshed, it will be overwritten by the
actual related values.
2007-11-28 19:35:44 +00:00
Jonathan.Wage
542f9b0d72
Further model loading refactoring and refactored merge() in Doctrine_Record
2007-11-27 18:23:13 +00:00
Jonathan.Wage
562a48769c
fixes #568
2007-11-27 03:36:40 +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
romanb
d645b1659c
More refactorings
2007-11-19 17:55:23 +00:00
romanb
ba9e4676fa
2007-11-19 10:00:44 +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
zYne
bd31958035
drafting the initial CTI support
2007-11-10 13:21:40 +00:00
Jonathan.Wage
37898ac06a
Fix to toArray() when you use toArray(true) on a record that has not been saved yet but has references
2007-11-08 18:54:55 +00:00
romanb
0ad03d6e2f
Fixed #577
2007-11-07 15:38:20 +00:00
zYne
b0c7dce47f
fixed record state handling with aggregate values
2007-10-29 23:34:10 +00:00
bschussek
520f4a1056
fixed: old mapped values were deleted when data was hydrated into an existing record (lazy-loading)
2007-10-29 19:26:22 +00:00
Jonathan.Wage
1989b099be
Fixes [ticket:512]
2007-10-25 14:21:25 +00:00
romanb
198b34c0b4
fix to assignDefaultValues. should fix #468
2007-10-21 20:12:36 +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
4f0234fff4
Removed propel style accessors.
2007-10-09 20:51:42 +00:00
Jonathan.Wage
8598411b02
Added support for Propel style getters/setters to __call()
2007-10-09 20:08:23 +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
52346aa6c5
moved hydration listeners to record listener
2007-10-07 22:43:04 +00:00
Jonathan.Wage
0a6f216efa
Lots of formatting changes, cleanup, doc block changes.
2007-10-03 21:43:22 +00:00
Jonathan.Wage
12cc664bf1
Added exportTo() and importFrom() to Collection and Record.
2007-09-26 22:36:32 +00:00
Jonathan.Wage
8c8d8187a5
Tweaks to everything, refactoring hydrating.
2007-09-25 21:39:38 +00:00
Jonathan.Wage
e9ba4504bf
Fixes for Doctrine Resource
2007-09-24 18:22:52 +00:00
Jonathan.Wage
b98130db1e
Fixes for doctrine resource.
2007-09-22 01:32:48 +00:00
Jonathan.Wage
5aa73029cf
Added fromArray() methods.
2007-09-21 21:40:54 +00:00
zYne
bfa3ef5649
2007-09-21 13:48:31 +00:00
zYne
f3488d17a0
2007-09-21 13:13:43 +00:00
zYne
be5eb98ebf
2007-09-20 20:21:08 +00:00
zYne
2f70b203e6
2007-09-20 20:15:34 +00:00
zYne
67085f5829
2007-09-19 15:18:09 +00:00
zYne
15c4235faa
2007-09-18 17:26:17 +00:00
zYne
7435ec302e
2007-09-18 17:09:14 +00:00
zYne
9d755abc23
2007-09-17 22:26:25 +00:00
zYne
023c91965c
2007-09-17 21:44:19 +00:00
jackbravo
404338f46f
Added support for unlink all
2007-09-12 22:07:57 +00:00
meus
9fbde039ba
remove caching of args. it is just plain wrong
2007-09-12 21:56:11 +00:00
meus
2f8c83983f
removing class variable adding static function var
2007-09-12 20:56:38 +00:00
meus
7a26255739
addded tests for template. added optimization for __call and calling template functions in Record
2007-09-12 20:26:59 +00:00
meus
8fbd18207b
conveience method inspect() in Doctrine_Validator_Exception. Call it with user_func and it will apply it to all ErrorStacks
2007-09-08 12:41:09 +00:00
jackbravo
a7b48e4269
Use FETCH_ARRAY on Doctrine_Record::refresh() to avoid clearing object relations
2007-09-04 01:23:11 +00:00
jackbravo
c3b9837c12
Fix bug #428 , clearing object relations before adding new ones in a query
2007-09-04 01:23:02 +00:00
meus
f3a377a794
replace tabs with 4 spaces. and fix other coding style related stuff
2007-09-03 14:57:18 +00:00
zYne
a6318cbe93
deprecated validation attributes VLD, AUTO_LENGTH_VLD and AUTO_TYPE_VLD, introduced new attribute ATTR_VALIDATE
2007-09-02 20:36:58 +00:00
romanb
af2a83484f
refactored parameter stacking ( Fixes #442 ).
2007-09-02 09:28:38 +00:00
zYne
5d1d506a3a
added invoker catching
2007-09-01 16:04:48 +00:00