zYne
1eb8b54d81
lots of refactorings
2007-01-21 18:31:51 +00:00
romanb
cb924af310
- Added Doctrine_Record::trySave()
...
- Modified the length validation to skip validation for integer fields. The length of integer fields represents the number of bytes and is used for table creation (4 = INT, ect.)
2007-01-19 20:47:24 +00:00
zYne
65ebec5aa9
Fixed sqlite connection function binding issue when using Doctrine_Db as well as added proper primary key handling for export methods
2007-01-11 22:39:32 +00:00
zYne
83d89b766d
TreeStructure bug fixed
2007-01-04 21:08:56 +00:00
lsmith
9d87bb45f4
- remove trailing whitespace
2006-12-29 21:46:14 +00:00
lsmith
239995d3c3
- fixed switch statement formating according to ZF CS
2006-12-29 21:30:37 +00:00
lsmith
4e22f1fbaf
- second round of PEAR CS fixes
2006-12-29 14:40:47 +00:00
lsmith
716bb65b86
- first round of PEAR CS fixes
2006-12-29 14:01:31 +00:00
zYne
aa349ecb74
2006-12-22 21:10:14 +00:00
zYne
7b48189ba5
new DQL aggregate value model
2006-12-21 22:06:08 +00:00
zYne
84bbfccbe2
DQL now supports UPDATE queries
2006-12-14 13:26:16 +00:00
zYne
2d29792301
Doctrine now works seamlessly in multi-connection environment where connections are bound to classes
2006-12-05 21:46:38 +00:00
zYne
df0511e9dc
Updated some docs, added identifier quoting to DQL, fixed some test cases, fixed dql select part handling
2006-12-03 20:05:09 +00:00
zYne
cb20dfafc7
updated datadict drivers
2006-12-02 22:44:53 +00:00
zYne
97604279bf
Removed adodb-hack, replaced by new export/datadict drivers
2006-12-02 14:52:27 +00:00
zYne
8779a38332
Constructor template method added
2006-12-02 14:48:02 +00:00
zYne
ddc9c3262c
2006-11-30 22:52:29 +00:00
zYne
ba893f6ec6
added REPLACE support, fixes #238
2006-11-30 22:47:15 +00:00
zYne
6daa1e3443
fixed references to deprecated getTransaction() and getUnitOfWork() methods
2006-11-16 20:31:39 +00:00
zYne
085dc9d601
Enhanced class doc blocks, fixes #228
2006-11-12 12:14:08 +00:00
zYne
cd80b593f8
Small fixes
2006-11-11 19:51:51 +00:00
chtito
21cde0e7b9
new fix to #146
2006-11-06 18:34:10 +00:00
pookey
60985b5697
renaming all DB references to Db
2006-11-06 18:00:35 +00:00
pookey
1d5bdee6c9
rolling back r587, reopening #146 - this breaks creating new objects.
2006-11-06 14:28:09 +00:00
chtito
63d84e18e9
fix for #146
2006-11-06 07:06:10 +00:00
zYne
7ef869ee40
Refactored Doctrine_Connection and Doctrine_Record, fixes #212
2006-10-30 23:00:09 +00:00
zYne
048d7788ce
Many-to-Many relation handling fixed, fixes #193
2006-10-29 23:24:50 +00:00
zYne
ff85f8c668
Fixes #194 , added Doctrine_Relation_ManyToMany_TestCase
...
Ticket: 194
2006-10-25 21:12:30 +00:00
zYne
0835a57ce1
Fixes #192 , added Doctrine_Record_State_TestCase
...
Ticket: 192
2006-10-25 20:02:40 +00:00
zYne
76b3f2c999
Refactored Doctrine_Table
2006-10-24 17:02:47 +00:00
zYne
0c0e6fd637
added Doctrine_Record::state()
2006-10-23 17:34:36 +00:00
zYne
599dc759fb
Fixes #180
2006-10-20 18:21:42 +00:00
zYne
c1280d31dc
Refs #175 , Removed $collections instance variable from Doctrine_Record
2006-10-18 19:55:14 +00:00
pookey
83af818915
fixing #172 - copying a record now will set non-null fields to modified so that when it's saved it inserts correctly
2006-10-16 21:08:14 +00:00
zYne
da6f4a3849
Fixes #166
2006-10-14 16:58:59 +00:00
zYne
db433c8449
Fixes #163 , #162 , removed Doctrine_Record::__call()
2006-10-12 21:01:53 +00:00
romanb
db25f46e52
Finished the validation changes.
...
Ticket: 150
2006-10-11 16:24:18 +00:00
romanb
171226d532
Continued work on the validation component.
...
Ticket: 150
2006-10-10 16:15:43 +00:00
romanb
b0f0537071
Necessary changes to the validation components. Further improvements and docs will follow in the next days.
...
Ticket: 150
2006-10-09 18:00:14 +00:00
zYne
966450d454
Fixes #154 , has* relations should act as owns* when saving related objects
2006-10-08 18:43:13 +00:00
zYne
11206fe573
Small fixes, now it should be possible to add custom errors
2006-10-08 18:20:10 +00:00
zYne
67da38b07d
Validators updated, *NOTE* this breaks BC:
...
- validators codes are now string instead of integers (constants)
- validating is now handled in record level
- added new component Doctrine_Validator_ErrorStack
- new methods Doctrine_Record::isValid() and Doctrine_Record::getErrorStack()
- errorStack now as a record instance variable
2006-10-08 18:12:27 +00:00
zYne
847bd1ade6
new attribute: Doctrine::ATTR_ACCESSORS, DQL subquery support, accessor invoking support
2006-10-06 16:50:00 +00:00
zYne
6210a60611
Fixed a bug when saving a record with null valued boolean column
2006-10-02 20:51:36 +00:00
zYne
bbc3d3f6be
Major change on how transactions are being handled: insert / update queries are now executed immediately and only deletes are being gathered (due to delete optimization strategies). Fixes #138 , #135
2006-09-30 12:36:03 +00:00
zYne
8e9a8af676
Added new exception classes, renamed Doctrine_Repository to Doctrine_Table_Repository, refactored many classes
2006-09-30 09:54:12 +00:00
zYne
14b95350d0
Fixes #132 , refactored some test cases
...
Ticket: 132
2006-09-28 21:21:33 +00:00
zYne
ed62d636e6
Moved relation classes under Doctrine_Relation namespace, fixes #134
...
Ticket: 134
2006-09-28 20:57:39 +00:00
zYne
c8c1397f8a
fixes #133
...
Ticket: 133
2006-09-28 20:03:29 +00:00
zYne
1ab5a4fcea
Refactored Doctrine_Record, added license to LocalKey class
2006-09-28 15:05:29 +00:00
zYne
88ef777fbd
Refactored Doctrine_Record, added Doctrine_Relation::isOneToOne
2006-09-28 14:49:20 +00:00
zYne
753e9bd4cc
Fixes #131
...
Ticket: 131
2006-09-27 21:54:00 +00:00
zYne
ddf0ceab82
Doctrine_Collection::internalAdd() removed, fixes #129
...
Ticket: 129
2006-09-27 21:41:20 +00:00
zYne
1a0179bdce
Fixes #128
...
Ticket: 128
2006-09-27 21:34:32 +00:00
zYne
7b84d15530
Fixes #126 , #127
...
Ticket: 126
2006-09-27 21:21:33 +00:00
zYne
c239ff4bba
Added exception info in Doctrine_Record doc blocks, fixes #125
...
Ticket: 125
2006-09-27 18:02:13 +00:00
zYne
e3f5aa9fb2
Boolean type bugs fixed, fixes #101
...
Ticket: 101
2006-09-26 21:12:14 +00:00
pookey
6094eeb536
moving php source files to lib directroy
2006-09-26 15:00:13 +00:00