1
0
mirror of synced 2024-12-14 15:16:04 +03:00
Commit Graph

1395 Commits

Author SHA1 Message Date
Jonathan.Wage
b447f6ca18 Minor tweaks. 2007-09-24 22:19:44 +00:00
Jonathan.Wage
bf59f2e861 Initial entry. 2007-09-24 21:51:11 +00:00
Jonathan.Wage
578556eb06 Made a change so we have a table object like in normal doctrine. 2007-09-24 21:50:50 +00:00
Jonathan.Wage
eca4f7a121 Added delete functionality to records. 2007-09-24 21:46:05 +00:00
Jonathan.Wage
6d6f6c7598 Fixes and tweaks. Added code to generate classes for schema and load them. 2007-09-24 21:32:02 +00:00
Jonathan.Wage
b40fd36efa Fixes to server. 2007-09-24 19:29:56 +00:00
Jonathan.Wage
c7b79372cc Fixes. 2007-09-24 18:46:11 +00:00
mahono
26ee84d5c8 fixed bug in Doctrine_Query::copy() - params were not copied 2007-09-24 18:44:37 +00:00
Jonathan.Wage
e9ba4504bf Fixes for Doctrine Resource 2007-09-24 18:22:52 +00:00
Jonathan.Wage
d6c0bcb4fc Initial entry for Resource refactoring. 2007-09-24 04:59:44 +00:00
Jonathan.Wage
3438aef503 Refactoring of Resource module. 2007-09-24 04:58:57 +00:00
zYne
9ce05cb90b 2007-09-22 22:02:58 +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
Jonathan.Wage
d0898c1a81 Fixes to allow inheritance. 2007-09-21 20:30:10 +00:00
Jonathan.Wage
4b82c6fbb2 Removed code to auto complete relationships. 2007-09-21 19:19:25 +00:00
Jonathan.Wage
d7cd584080 2007-09-21 18:43:27 +00:00
Jonathan.Wage
d59dce8607 Moved save. 2007-09-21 18:34:10 +00:00
Jonathan.Wage
208fa1eef8 Fixes for saving models. 2007-09-21 18:19:19 +00:00
Jonathan.Wage
9992cf30fc Fixes for Doctrine_Resource. 2007-09-21 18:01:08 +00:00
zYne
bfa3ef5649 2007-09-21 13:48:31 +00:00
zYne
f787a29baa drafting the compound filter 2007-09-21 13:32:03 +00:00
zYne
f3488d17a0 2007-09-21 13:13:43 +00:00
gnat
2f7d4cbca1 changes to support setting the tableName and properly create enum column values 2007-09-21 07:14:37 +00:00
Jonathan.Wage
9c32fef9bf Changed foreign_alias to foreignAlias 2007-09-21 03:20:02 +00:00
Jonathan.Wage
e22ad5baae gnats changes. 2007-09-21 03:18:50 +00:00
Jonathan.Wage
35ef784eaa Initial entry of Doctrine_Resource and other fixes. 2007-09-21 02:48:13 +00:00
zYne
f4eeb641c0 2007-09-20 22:43:37 +00:00
Jonathan.Wage
b7e368a4df Formatting fix. 2007-09-20 22:34:03 +00:00
Jonathan.Wage
ad55d16395 Fixes for schema importing. 2007-09-20 22:19:22 +00:00
zYne
29ff0dee02 2007-09-20 22:16:34 +00:00
maniac3000
dc701e1345 Add decimal as a valid type to Formatter->quote() 2007-09-20 21:40:23 +00:00
zYne
e05c0c8ab6 2007-09-20 20:58:54 +00:00
zYne
e24d9c69dd refactoring the table class 2007-09-20 20:53:15 +00:00
zYne
2169cbe95e 2007-09-20 20:48:53 +00:00
Jonathan.Wage
d4e3567ab9 Changes to migration. 2007-09-20 20:24:38 +00:00
zYne
be5eb98ebf 2007-09-20 20:21:08 +00:00
zYne
2f70b203e6 2007-09-20 20:15:34 +00:00
zYne
df0081f13b 2007-09-20 20:10:32 +00:00
zYne
faa5763a4f 2007-09-20 20:08:19 +00:00
Jonathan.Wage
dc8280ab7a Made dummy data function return it. 2007-09-20 19:31:04 +00:00
Jonathan.Wage
2fe7b95fba Changes static methods to be normal public methods. 2007-09-20 19:30:19 +00:00
Jonathan.Wage
1e1090700c Fixes to make schema importing work. 2007-09-20 19:18:05 +00:00
Jonathan.Wage
433035fd28 Fixes for importing dummy data. 2007-09-20 17:04:22 +00:00
Jonathan.Wage
3df29f7d01 A few tweaks. 2007-09-20 16:11:59 +00:00
Jonathan.Wage
a5377c28ab Initial entry. 2007-09-20 15:02:57 +00:00
Jonathan.Wage
0e964840b7 Changes to make export schema yml closer to working :) 2007-09-20 15:02:07 +00:00
gnat
8402633bcc invalid variable 2007-09-20 05:25:52 +00:00
Jonathan.Wage
04f1a135cf Updated to auto complete other end of relationships. 2007-09-19 21:08:23 +00:00
Jonathan.Wage
fef5d32d8a Updating Export code to use the new methods in Doctrine instead of rewriting same code. 2007-09-19 19:43:33 +00:00
Jonathan.Wage
0c8ba8e9e2 Removed remove alter table from sqlite b/c this is not possible in sqlite. 2007-09-19 19:34:45 +00:00
Jonathan.Wage
10bdfcb17f Changes for new migration code. 2007-09-19 19:33:00 +00:00
zYne
5d12093b8e 2007-09-19 18:58:45 +00:00
Jonathan.Wage
b41259b04a 2007-09-19 16:26:28 +00:00
zYne
67085f5829 2007-09-19 15:18:09 +00:00
zYne
2bb8b7083f 2007-09-19 14:59:06 +00:00
Jonathan.Wage
659d105469 MOved to new name. 2007-09-18 20:16:43 +00:00
Jonathan.Wage
28b35cc577 Renamed. 2007-09-18 20:16:24 +00:00
Jonathan.Wage
900c0161eb Initial entry. 2007-09-18 20:15:17 +00:00
zYne
15c4235faa 2007-09-18 17:26:17 +00:00
zYne
7435ec302e 2007-09-18 17:09:14 +00:00
zYne
a63c8fe80a 2007-09-17 22:30:45 +00:00
zYne
9d755abc23 2007-09-17 22:26:25 +00:00
zYne
19fc58dccd 2007-09-17 22:19:17 +00:00
zYne
cb36f5d092 2007-09-17 21:51:42 +00:00
zYne
023c91965c 2007-09-17 21:44:19 +00:00
Jonathan.Wage
78f8aea897 Added example code. 2007-09-17 21:32:40 +00:00
Jonathan.Wage
f3bdcb9118 Lowercase as. 2007-09-17 21:22:00 +00:00
Jonathan.Wage
1dc60451c5 Fixes for new yml schema. 2007-09-17 21:16:13 +00:00
zYne
29f64470de 2007-09-17 20:44:30 +00:00
zYne
d6fd3e16e0 2007-09-17 20:41:24 +00:00
Jonathan.Wage
a170822788 Fixes for yml importing/exporting of schema. 2007-09-14 19:14:40 +00:00
Jonathan.Wage
8e57185e30 Fixes. 2007-09-13 22:39:52 +00:00
Jonathan.Wage
122ebf0ca6 2007-09-13 21:52:18 +00:00
Jonathan.Wage
78f145c368 2007-09-13 21:50:43 +00:00
Jonathan.Wage
16a0aaebcf Making sure we don't require Spyc 2 times. 2007-09-13 21:49:04 +00:00
Jonathan.Wage
c9658cb29b Getting exporting/importing working. 2007-09-13 21:32:40 +00:00
Jonathan.Wage
13d781cb68 Added aliases. 2007-09-13 19:25:52 +00:00
Jonathan.Wage
39c3f2e0f8 Initial entry of Parser for yml/xml and made import schema code use the parser classes. 2007-09-13 19:06:38 +00:00
zYne
1096f90f45 2007-09-13 18:42:52 +00:00
jackbravo
404338f46f Added support for unlink all 2007-09-12 22:07:57 +00:00
zYne
c8578d434a 2007-09-12 22:03:25 +00:00
meus
9fbde039ba remove caching of args. it is just plain wrong 2007-09-12 21:56:11 +00:00
zYne
7359ee0e53 DQL expression handling rewrite 2007-09-12 21:42:42 +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
Jonathan.Wage
0d84bcd2af Made loadTemplate() simply call actAs() rather than duplicating code. Original loadTemplate() was broken anyways, addTemplate() was never called 2007-09-12 16:06:33 +00:00
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
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
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
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
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
zYne
5d1d506a3a added invoker catching 2007-09-01 16:04:48 +00:00
zYne
224d3fb062 2007-09-01 15:51:46 +00:00
zYne
ef127afd1e 2007-09-01 15:30:40 +00:00
romanb
edb1b251d6 Applied the patch from Jackbravo (ticket #441) 2007-09-01 10:41:46 +00:00
zYne
67fc9764c3 2007-08-29 22:20:30 +00:00
zYne
04e5888a3c fixes #429 2007-08-29 22:15:25 +00:00
zYne
ed2822938a 2007-08-29 22:13:47 +00:00
zYne
15556a35a4 fixes #433 2007-08-29 22:03:55 +00:00
zYne
4fc6efd82f fixes #440 2007-08-29 21:57:46 +00:00
Jonathan.Wage
3eedefae50 Reverted changes for disabling foreign key sql exporting. Not needed since it can be done with attributes. 2007-08-29 21:51:49 +00:00
zYne
684ad68de2 2007-08-29 21:36:36 +00:00
jackbravo
2d08773ea7 Reverted changeset 2271, increase in memory usage too big 2007-08-29 19:07:43 +00:00
romanb
7bedb0b21d Added Doctrine_Query::free() to make it possible to help PHPs current GC 2007-08-29 18:40:58 +00:00
jackbravo
1c24964490 Added toString method to avoid some errors 2007-08-28 19:51:06 +00:00
jackbravo
bd61271579 toArray now can return also the record relations 2007-08-28 16:45:22 +00:00
Jonathan.Wage
bf6ed870fa Added back getTemplates() function. Somehow was removed on accident 2007-08-27 15:04:32 +00:00
Jonathan.Wage
8dfd9e5a6b Updated Oracle.php export driver to match parent function definition 2007-08-27 14:52:38 +00:00