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

1238 Commits

Author SHA1 Message Date
jackbravo
d8352d67fa Substitute array_diff function with array_udiff to allow overriding __toString() 2007-09-10 16:16:24 +00:00
meus
a7c24a05f5 fixing codeing standard errors... 2007-09-08 12:43:25 +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
3ad6e01c73 Simplified test for isComposite 2007-09-07 18:09:18 +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
6987d11e2a 2007-09-06 21:07:24 +00:00
zYne
88f60a022b 2007-09-06 20:59:13 +00:00
zYne
d16ea7d8fc 2007-09-06 20:52:36 +00:00
zYne
e45ae7d082 2007-09-06 20:52:16 +00:00
zYne
4eac440c56 2007-09-06 20:38:22 +00:00
zYne
ec6120b955 2007-09-06 20:23:52 +00:00
zYne
eed203594e 2007-09-06 20:12:12 +00:00
zYne
26d3d3e7a4 2007-09-06 19:32:22 +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
mahono
744666ab95 fixed issue with fetchOne() - a break was missing 2007-09-06 12:59:45 +00:00
jackbravo
af14c812ce Memory problem solved. Sqlite creating functions repeatedly.
Doctrine_Connection_Sqlite::connect was creating functions every time it was called even if it was allready connected.
2007-09-05 22:03:57 +00:00
romanb
a478dfa4fd removed hydration constants from doctrine_hydrate 2007-09-05 16:05:49 +00:00
zYne
d9a5bbd61d 2007-09-05 15:03:00 +00:00
zYne
cd7f42dec2 2007-09-04 20:56:16 +00:00
zYne
d992deea1d 2007-09-04 20:49:35 +00:00
jackbravo
5ae71f676e Throw exception on deprecated attributes 2007-09-04 16:36:12 +00:00
romanb
4a2fac7218 Fixed a bug in the nestedset implementation. When using single table inheritance all node instances need to use the same tree object. previously every subclass created it's own tree object which resulted in strange behaviour. 2007-09-04 12:52:23 +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
jackbravo
1c5162eed2 Use array_shift, since the key may not allways be 0 2007-09-03 22:29:30 +00:00
jackbravo
b4b07479e3 EXPORT_ALL constant should include bits 1 and 2, so it should be set to 3 2007-09-03 16:54:08 +00:00
jackbravo
a975c64de1 Avoid using getMethod on classes that don't have that method 2007-09-03 15:36:56 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
nightfreak
d3e4b2c912 small bugfix 2007-09-03 12:08:36 +00:00
lsmith
6f7736ade8 - trying to fix http://www.phpdoctrine.net/trac/changeset/2322/trunk/lib/Doctrine/Export.php 2007-09-03 10:41:51 +00:00
zYne
78c3ba652a 2007-09-02 22:08:02 +00:00
zYne
810b1d6623 2007-09-02 20:48:31 +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
zYne
e73f9fe5ec 2007-09-02 20:18:41 +00:00
zYne
70ff3b261f refactored Validator API 2007-09-02 20:00:27 +00:00
zYne
63cba02028 2007-09-02 17:34:44 +00:00
zYne
2dd52e306d 2007-09-02 17:02:16 +00:00
meus
4ff9af6df0 removed aditional ?> from lib 2007-09-02 17:00:26 +00:00
zYne
eb92f6d220 2007-09-02 16:55:24 +00:00
zYne
7127f12e2c drafting I18n 2007-09-02 11:55:12 +00:00
zYne
e37ae45820 2007-09-02 11:29:14 +00:00
romanb
af2a83484f refactored parameter stacking (Fixes #442). 2007-09-02 09:28:38 +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
zYne
cb50a932fc MAP keyword support ! 2007-09-01 22:22:54 +00:00
romanb
3e47532e07 Notnull validator no longer checks for empty strings 2007-09-01 20:20:17 +00:00
jackbravo
9b5246368e Added FETCH_ARRAY support for table finder methods, fixes bug #397 2007-09-01 19:44:38 +00:00
zYne
3fe5b807a1 2007-09-01 17:35:44 +00:00
zYne
07c5c92e73 deletes are no longer stacked in the end of transaction, now transactional integrity is always assured 2007-09-01 17:28:11 +00:00
zYne
07b5727c52 severe export bug fix: classes using column aggregation inheritance not properly exported 2007-09-01 16:11:58 +00:00