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
Jonathan.Wage
6ce7d88c0b
Added ability to turn off foreign key sql exporting for specific models
2007-08-27 14:43:52 +00:00
lukenukem
d82b58aa10
Added PostgreSQLs age() and date_part() functions.
2007-08-25 08:06:17 +00:00
jackbravo
777539fbf3
Fixed bug on columns not being quoted on INSERT statements, reported by email by Gavin Mogan
2007-08-25 00:34:25 +00:00
jackbravo
d47b8f11ec
Again... Prevent quoting two times the table name, bug report by g00fy on irc, seems like this bug could be on other drivers as well
2007-08-25 00:17:30 +00:00
jackbravo
95d443575f
Added some user functions (trim, ltrim, rtrim, sha1), the trim function prevented the tests from running
2007-08-25 00:14:14 +00:00
jackbravo
9b7c743f48
Prevent Doctrine from quoting two times table name, bug report by g00fy on irc
2007-08-24 23:03:25 +00:00
jackbravo
7fc767794e
Amend: this was not yet to be commited
2007-08-24 22:00:05 +00:00
jackbravo
17913f5860
Clearer fix for nesting level too deep bug, use in_array with strict flag (use === instead of ==)
2007-08-24 21:43:50 +00:00
jackbravo
666e2f3f8d
Nesting level too deep because using in_array, fixed
2007-08-24 19:20:06 +00:00
jackbravo
b01212e2e8
Fixed a bug when using Templates and exporting classes using inheritance
...
If you hada base Doctrine_Record class that implemented a Template and some classes
that inherited from this one using single table inheritance, the export process
failed because it tried to create several times the same table
2007-08-23 00:57:33 +00:00
gnat
25554aa0f7
fixed a problem with undefined array keys when fetching in array mode with multi level joins
2007-08-21 14:59:04 +00:00
kselli
70c94fae67
Patched the bug #423 which didn't allow user to set attributes in the construct() method.
...
Ticket: 423
2007-08-20 23:04:30 +00:00
romanb
ce90ee576a
Fixed Doctrine_Node_NestedSet::getNumberChildren()
2007-08-20 07:45:29 +00:00
zYne
003e6ad163
2007-08-17 21:24:55 +00:00
zYne
bcb31fc232
added template method call delegator
2007-08-17 21:22:03 +00:00
zYne
ed8e90b8df
2007-08-17 21:21:52 +00:00
jepso
ec6f806efe
Doctrine_Cache_Db:
...
* added tableName option
* added deleteAll and createTable methods
* fixed fetch method
* fixed a bug with expire time in save method
2007-08-17 10:49:51 +00:00
Jonathan.Wage
99ae59fd41
Changed import/export methods to importSchema() and exportSchema()
2007-08-16 22:42:35 +00:00
Jonathan.Wage
b4600960fd
Changed imprt back to import as variable names are not affected by change to php
2007-08-16 21:54:14 +00:00
nicobn
b54d56a9a2
Jaws_Schema is now abstract
2007-08-15 16:57:16 +00:00
nicobn
a062835e43
'import' is a reserved word in PHP 6. Changed all method names / properties name from import to imprt. This means the documentation will need to be changed
2007-08-15 14:49:00 +00:00
zYne
4ab524089a
2007-08-14 21:20:00 +00:00
zYne
37e6248b8a
2007-08-14 20:49:07 +00:00
zYne
f6c1560ebc
2007-08-14 20:44:48 +00:00
zYne
30521a7020
2007-08-14 20:30:33 +00:00
Jonathan.Wage
1b8e9ea091
Removed getState() method and changed all references to getState() to state()
2007-08-14 20:23:54 +00:00
zYne
5a976de3f4
fixes #335
2007-08-14 20:23:02 +00:00
zYne
201c6b8194
fixes #419
2007-08-14 20:16:31 +00:00
romanb
8aa8c54fb3
Small changes to the recent fix from jonwage
2007-08-14 18:28:35 +00:00
Jonathan.Wage
f123a7cdcd
Added extra logic to getRootAlias() so it only calles getSql() if _aliasMap is not present already
2007-08-14 18:25:06 +00:00
Jonathan.Wage
b9a3e0cd20
Added call to ->getSql() back to ensure parsing has happened so we can determine the root alias.
2007-08-14 18:11:06 +00:00
Jonathan.Wage
91be68810c
Removed unecessary change to Hydrate.php
2007-08-14 17:01:06 +00:00
Jonathan.Wage
7f4abdf292
Added copy() method to Query.php and made NestedSet.php use it because native clone() does not work. Also Added ->getSql() to getRootAlias() so that _aliasMap is present after the parsing.
2007-08-14 16:37:48 +00:00
lsmith
39e024c166
- fixed return value to be bool for execute() (did not run test suite)
2007-08-14 14:53:04 +00:00
zYne
635f1a9c8f
fixes #420
2007-08-13 22:01:27 +00:00
zYne
46154c5682
fixes #418
2007-08-13 21:51:23 +00:00
zYne
0686aef2c0
2007-08-13 21:39:29 +00:00
zYne
714a42239b
2007-08-13 21:23:56 +00:00
zYne
ce8fa91204
2007-08-13 21:14:53 +00:00
zYne
54d6296087
added RTRIM function support
2007-08-11 22:24:49 +00:00
zYne
a181b06e70
added TRIM function
2007-08-11 22:12:17 +00:00
zYne
1473df1976
new DQL WHERE parser
2007-08-11 21:53:02 +00:00
zYne
b83321e5dd
added removeLinks()
2007-08-11 21:35:58 +00:00
zYne
f619273778
2007-08-11 20:19:57 +00:00
nightfreak
6c0b5fd36c
added the fix for ticket #398 . also fixed the missing $coll->setReference() in Doctrine_Relation_Association::fetchRelatedFor()
2007-08-11 18:24:19 +00:00
zYne
b243286bee
formatting fix
2007-08-11 18:22:13 +00:00
nightfreak
2f85c85cf7
added the method refreshRelated() to Doctrine_Record
2007-08-11 17:49:43 +00:00
zYne
bc031289c0
fixes #425
2007-08-10 20:35:25 +00:00
meus
69f1bd41bb
removed notice error when running tests
2007-08-10 20:29:07 +00:00
njero
a903c927c4
Make the new hasOne stuff work with identifiers
2007-08-10 07:07:53 +00:00
njero
17787aa173
Need to include float in the list for length checks. In general this default for length should be removed downstream in validator but to be consistent
2007-08-10 07:07:24 +00:00
nicobn
5501a4b434
Fixed typo
2007-08-10 06:01:54 +00:00
njero
7f1666efc0
Changes to make hasOne relations with 'foreign' and 'local' work as expected
2007-08-10 05:54:21 +00:00
njero
4210452812
You cant call ucwords(strtolower(...)) on the plugin name because NestedSet will become Nestedset (lower s)
2007-08-09 23:12:31 +00:00
jackbravo
391bdc88a1
set isConnected to false when the connection is closed
2007-08-09 22:26:57 +00:00
jackbravo
0a50b95fed
Unified event listener methods for close() method: preClose() postClose()
2007-08-09 22:16:33 +00:00
zYne
78f683d855
fixes #424
2007-08-09 17:31:31 +00:00
zYne
5f7afb93f9
2007-08-09 17:27:13 +00:00
zYne
795bb23c2f
2007-08-09 17:25:07 +00:00
zYne
2468d4e78d
drafting the new clause parser
2007-08-07 20:41:33 +00:00
zYne
643a3ea86b
2007-08-07 20:17:11 +00:00
zYne
34c898da0e
2007-08-07 20:12:54 +00:00
zYne
a12e74d8df
2007-08-07 20:04:02 +00:00
nightfreak
818008492c
=When unserializing a serialized record the value of enum, array, object and gzip fields are restored + it is now possible to store an object of type Doctrine_Record in an object field
2007-08-07 15:37:30 +00:00
romanb
46e5a0d2f8
Fixed multiple-root setup with new syntax (actAs/loadTemplate). Forgot to pass the parameters.
2007-08-04 17:02:25 +00:00
romanb
7ad2c77a2d
- Updated nested set documentation
...
- Removed the reserved alias "base" from the nested set. It's no longer necessary to use that. Use whatever alias you want.
2007-08-04 14:33:15 +00:00
Jonathan.Wage
121d9ad9aa
A fixes to get the importing a little closer.
2007-08-03 22:05:05 +00:00
Jonathan.Wage
ff832983bd
Reorganized code.
2007-08-03 21:25:10 +00:00
zYne
1ef946aedb
2007-08-03 21:02:17 +00:00
zYne
45cb86dab9
2007-08-03 20:57:07 +00:00
zYne
5490247cc7
new templating model
2007-08-03 11:52:24 +00:00
zYne
90bf6241e4
2007-08-03 11:25:53 +00:00
zYne
da1a6e38a9
2007-08-03 11:24:45 +00:00
zYne
ab76c18fd7
2007-08-03 10:41:20 +00:00
zYne
013bdebe0b
2007-08-02 21:27:42 +00:00
zYne
1c919c7a0a
added whereIn
2007-08-02 21:24:29 +00:00
Jonathan.Wage
48481be4bd
Fixed issue with isValidNode() not always being passed a Doctrine_Record and fixed issue with params being sent to set(), moved to where() until set() can handle params
2007-08-02 20:05:12 +00:00
meus
c9d6a046fa
fixing issue mention on the mailing list by tl@hdnet.de at 2.aug
2007-08-02 19:28:46 +00:00
zYne
2cc28d066c
2007-08-02 18:57:01 +00:00
zYne
97ca7c9c36
wildcard support for search query language
2007-08-02 12:01:38 +00:00
zYne
2c76c48bfe
updated search query parser engine, now supporting operators OR, AND and NOT
2007-08-01 23:42:22 +00:00
zYne
f81c5c3b39
fixed fatal bug in sql explode
2007-08-01 23:25:24 +00:00
zYne
ebfc0971c6
2007-08-01 22:53:33 +00:00
zYne
d59f761da0
2007-08-01 19:37:28 +00:00
zYne
64f7e3a36e
added default lengths for all data types
2007-08-01 19:32:53 +00:00
Jonathan.Wage
75a1ead588
Fixed issue with count() and composite column primary keys
2007-08-01 17:56:18 +00:00
njero
cb146fb8e8
The index lookup needs to allow for array("fields" => "name") where the fields list
...
is a string and not an array
2007-08-01 14:50:46 +00:00
zYne
bc6ff6903d
added base plugin class
2007-07-31 21:59:45 +00:00
zYne
a57226b086
fixes #338
2007-07-31 20:22:10 +00:00
zYne
a269fcdb18
Custom join condition model rewritte, full support for ON and WITH keywords
2007-07-31 19:33:58 +00:00
lukenukem
b2d9a22816
OFFSET and LIMIT for PostgreSQL corrected.
2007-07-31 05:50:41 +00:00
zYne
fe1bc520a8
2007-07-30 22:30:41 +00:00
zYne
ac88e64940
2007-07-30 21:30:39 +00:00
zYne
37198a6bb7
formatting fix
2007-07-30 19:35:41 +00:00
zYne
c045174fde
2007-07-30 19:29:37 +00:00
zYne
1a18acb762
2007-07-30 19:13:05 +00:00
meus
7ab2e58609
added setSubclasses to abstractRecord. Fixed classes in tests. added some more output to the Test.php script
2007-07-30 19:01:16 +00:00
romanb
8a0898d3ed
Several fixes for mysql export module (incorrectly added indices)
...
Ticket: 408
2007-07-30 11:47:36 +00:00
romanb
7583a8d8ac
Preliminary fix for a bug that occurs when using NestedSet + Column aggregation inheritance
2007-07-29 19:38:11 +00:00
meus
4e4dc0a6df
fixed some failing testcases in columnaggregation. the if check was to strict
2007-07-28 20:27:38 +00:00
zYne
5b611b5302
2007-07-27 20:18:58 +00:00
zYne
201f821b27
2007-07-27 19:24:28 +00:00
zYne
9bc4d7618e
2007-07-27 19:03:32 +00:00
mahono
c662f4d99f
* added new fetchOne() method for convenience
...
* some whitespace cleanups
2007-07-27 15:58:37 +00:00
zYne
97e82445d7
2007-07-27 15:35:37 +00:00
zYne
f0275da674
deprecated lockmode attribute
2007-07-27 15:31:33 +00:00
zYne
0e8f67968c
2007-07-26 23:44:09 +00:00
zYne
f31eaa9ab3
2007-07-26 23:10:04 +00:00
zYne
569348bdda
2007-07-26 22:57:36 +00:00
zYne
8ee4d75b69
2007-07-26 19:52:12 +00:00
zYne
e60c34c735
2007-07-25 20:45:25 +00:00
zYne
330156e7b6
2007-07-24 20:38:42 +00:00
zYne
cbf6e48aa3
2007-07-24 20:38:21 +00:00
zYne
91ee810ad1
2007-07-24 19:58:44 +00:00
romanb
fc2f9f29bd
Closes #405 .
...
Syntax for getting input properly escaped through prepared statements:
$query->set('field', 'field + ?', $value)
or
$query->set('field', 'field + ? - ?', array($value1, $value2))
or simply
$query->set('field', '?', $value)
Ticket: 405
2007-07-24 11:34:00 +00:00
zYne
9eeebfd815
2007-07-24 09:35:11 +00:00
zYne
8a393ab44d
2007-07-23 23:44:14 +00:00
zYne
cfaa5f121f
2007-07-23 23:18:11 +00:00
zYne
23025b5872
2007-07-23 23:10:50 +00:00
zYne
d0d2067942
2007-07-23 22:50:07 +00:00
zYne
c26ed8441b
2007-07-23 20:28:46 +00:00
zYne
ad44c65648
new record locking mechanism
2007-07-23 18:50:32 +00:00
zYne
a2111d60af
2007-07-23 18:32:29 +00:00
zYne
752a26cb76
2007-07-23 18:27:00 +00:00
meus
2d55394109
fixed default error message for ValidatorException that list the classes that have validation errors
2007-07-21 22:15:22 +00:00
meus
a690adfb2a
fixing so taht getName uses the correct constants
2007-07-21 20:03:28 +00:00
meus
5d79089d1f
fixes #395 applied Antik´s patch and ran tests. 1 less failure
2007-07-21 16:49:52 +00:00
meus
eca9f79dc8
removed array_unique in Hydrate/Record and added test to run.php fixes #403
2007-07-21 16:35:04 +00:00
meus
feaade5850
Fixing hasRelation closes #406
2007-07-21 15:46:31 +00:00
romanb
75dbc8c841
Several bugfixes for the export module (expecially pgsql).
2007-07-21 15:17:17 +00:00
zYne
6348e5f709
2007-07-21 11:46:08 +00:00
zYne
141a95669d
2007-07-21 11:34:07 +00:00
zYne
41bb34ef0f
2007-07-20 20:41:13 +00:00
zYne
6674d341c7
2007-07-20 20:32:24 +00:00
zYne
9d8dfbce50
2007-07-20 20:03:32 +00:00
zYne
7ea7d586d6
2007-07-20 19:51:19 +00:00
RossC0
bba435d7a1
[ #404 ] restored addFrom for the DQL - went missing in Query.php refactorings
2007-07-20 10:11:13 +00:00
zYne
b44f13e732
2007-07-20 09:48:28 +00:00
zYne
8651135b96
fixed INT_MAX issue
2007-07-20 09:38:10 +00:00
zYne
941a2e5761
2007-07-18 19:31:43 +00:00
zYne
b13a70c087
2007-07-18 19:18:30 +00:00
zYne
6823c76544
2007-07-17 21:10:18 +00:00
zYne
1633b07f1d
2007-07-17 20:59:09 +00:00
zYne
163c1aaa61
2007-07-17 20:45:10 +00:00
zYne
fb58fb6598
2007-07-16 19:26:14 +00:00
zYne
4226685f3c
2007-07-16 19:26:00 +00:00
zYne
59be22b329
2007-07-16 19:19:29 +00:00
zYne
d49c6cabeb
2007-07-13 21:51:03 +00:00
zYne
18115c7711
2007-07-13 16:22:49 +00:00
zYne
3502fd9299
identifier quoting fix
2007-07-12 22:31:16 +00:00
zYne
af7d3addd6
2007-07-12 21:50:31 +00:00
Jonathan.Wage
c37c61b5aa
Fixed count() returning incorrect count when groupby exists.
2007-07-12 21:37:18 +00:00
Jonathan.Wage
c9dafc24aa
Changed where() and orderBy() to addWhere() and addOrderBy()
2007-07-12 15:41:26 +00:00
zYne
c1511dd391
2007-07-11 22:03:47 +00:00
pookey
931bc8de23
* Correction to Record Event Chain stuff
...
* Updating AuditLog to new way of doing array hydration
2007-07-11 15:32:13 +00:00
zYne
d434174a96
added Search component, new record event listeners and some tests
2007-07-11 14:39:15 +00:00
zYne
b32163fab3
2007-07-11 13:20:39 +00:00
zYne
1b9dcfb445
2007-07-11 11:30:27 +00:00
zYne
9f7b5734f8
2007-07-11 11:27:02 +00:00
zYne
bb13fe2a93
2007-07-11 10:22:01 +00:00
nicobn
befc0c16b0
Builder was broken. Applied patch sent by Carl Michael Skog.
2007-07-10 15:20:13 +00:00
zYne
e47a72d3ce
2007-07-09 23:01:59 +00:00
zYne
c67cd12226
2007-07-09 22:56:34 +00:00
zYne
0ae630046f
2007-07-09 22:47:34 +00:00
zYne
b2f255669b
2007-07-09 22:42:33 +00:00
zYne
e6680a92c3
2007-07-09 13:26:20 +00:00
zYne
1c4f4f665b
2007-07-09 12:36:21 +00:00
zYne
5aea10ec39
2007-07-09 11:23:44 +00:00
zYne
54e5f45c61
2007-07-09 11:06:49 +00:00
hansbrix
4cb332fba4
added method to properly quote IN (...) strings
...
Ticket: 383
2007-07-09 07:55:45 +00:00
zYne
fcc58778c5
2007-07-08 20:18:50 +00:00
zYne
4004541b60
2007-07-08 19:35:53 +00:00
zYne
7133b67657
2007-07-08 19:33:57 +00:00
zYne
84f764cf56
minor relation fix
2007-07-08 19:19:53 +00:00
romanb
532d3da4f1
Bugfix for hydration. (zyne, please have a look at the diff).
...
Improvements and enhancements to the NestedSet (not BC! please have a look at draft/nestedset_changes.tree).
Added a model that was missing in the repos (model/BlogTag).
Updated a testcase.
2007-07-08 12:57:52 +00:00
romanb
abb7773666
Fixed wrong constant.
2007-07-07 08:35:26 +00:00
gnat
85ec506691
fix some an infinite recursion when deleting records that reference each other with ownsOne
2007-07-06 21:18:36 +00:00
zYne
56768b613f
fixed identifier quoting
2007-07-06 20:55:15 +00:00
zYne
f5277b5ff5
added fetchArray()
2007-07-06 13:10:54 +00:00
zYne
2c9546e007
2007-07-06 12:39:53 +00:00
zYne
dbd49e9310
2007-07-05 23:47:48 +00:00
zYne
58f6d356e0
renamed Doctrine_Record::obtainIdentifier() to Doctrine_Record::identifier(), fixed identityMap implementation
2007-07-05 23:21:29 +00:00
zYne
65f0cb8d27
2007-07-05 22:53:51 +00:00
zYne
ec39adcd73
2007-07-05 22:42:32 +00:00
zYne
615dcdb84e
2007-07-05 20:03:38 +00:00
zYne
411779d102
2007-07-05 19:04:37 +00:00
zYne
e4114c47fa
fixed literal enum conversion with joins
2007-07-05 17:25:53 +00:00
davidc
62fbe90fc7
Better sequence handling, making sure we are using DEFAULT VALUES with identify set to off.. we turn it off (identity insert, then we insert).
2007-07-03 22:56:56 +00:00
romanb
42ef7176ae
Introduced setHydrationMode() and new hydration constants.
2007-07-01 13:46:34 +00:00
zYne
20e6b007f7
2007-07-01 12:11:44 +00:00
zYne
cc7b1367fa
support for expressional column values
2007-07-01 11:27:45 +00:00
meus
fa6523a4bf
fixed some inconsitensies with the codeing style
2007-07-01 10:47:44 +00:00
meus
999aeff0de
added new xml options record_name and collection_name so that you can override default behavior if wanted
2007-07-01 10:46:24 +00:00
zYne
9703f18ca8
2007-06-29 12:45:26 +00:00
zYne
0624cbd867
2007-06-29 10:18:05 +00:00
zYne
b080397f02
2007-06-29 09:39:03 +00:00
zYne
17410fc243
2007-06-28 22:16:24 +00:00
zYne
5b2c57af1f
2007-06-28 21:43:31 +00:00
zYne
2d2e01a783
2007-06-28 19:40:33 +00:00
zYne
57b4a549f2
2007-06-28 19:19:47 +00:00
zYne
c02c83d4a7
2007-06-28 13:15:24 +00:00
zYne
417b71f447
2007-06-28 12:11:55 +00:00
zYne
f4842edd98
2007-06-28 12:00:49 +00:00
zYne
b4ad603841
2007-06-28 11:56:56 +00:00
zYne
5586bf92ec
2007-06-28 10:39:40 +00:00
zYne
501e8e9158
2007-06-27 22:40:17 +00:00
zYne
e1979612c7
2007-06-27 22:29:57 +00:00
zYne
2a2cb285a0
2007-06-27 18:42:47 +00:00
zYne
279f3d69f9
2007-06-27 18:03:16 +00:00
zYne
07a710ef0b
2007-06-27 17:51:51 +00:00
zYne
760e598ba5
2007-06-27 17:46:34 +00:00
zYne
a6139bb381
2007-06-27 17:41:02 +00:00
zYne
e3719874bd
2007-06-27 16:59:23 +00:00
zYne
9f604e7be5
2007-06-27 16:30:13 +00:00
zYne
6d29c834de
deprecated countRelated()
2007-06-27 16:22:41 +00:00
zYne
94fb249ea2
2007-06-27 16:21:29 +00:00
meus
a164c6a2cd
fixed some in the export xml functions to correctly show records if no ignore_fields are set and to use database table name and not classname as basis for xml containers
2007-06-27 08:14:05 +00:00
nicobn
2acd30624d
Added a new method to give more options to the user.
2007-06-27 02:44:20 +00:00
zYne
81d39c5026
2007-06-26 23:12:45 +00:00
zYne
625b6a3f82
2007-06-26 22:35:08 +00:00
subzero2000
741cc3f045
Corrected Doctrine_EventListener method names. Fixes #366
2007-06-26 22:30:23 +00:00
subzero2000
d4bc0d3637
Ensure usage of Doctrine_Connection_Statement rather than PDOStatement in Doctrine_Connection::execute(). Fixes #365
2007-06-26 22:29:31 +00:00
subzero2000
031b2ba70c
Added check to ensure a foreign object is actually a Doctrine_Record before calling isModified.
2007-06-26 21:06:19 +00:00
zYne
c5fc122852
fixes #364 , optimized the bulkDelete for composite primary keys, security check for circular references in cascading saves
2007-06-26 13:08:58 +00:00
RossC0
82432b33df
#368 refs: r1846 Missed Doctrine_identifier
2007-06-26 12:51:46 +00:00
zYne
8b8ae07e00
2007-06-26 12:08:50 +00:00
zYne
397607762b
2007-06-26 11:35:58 +00:00
zYne
ae8f683856
2007-06-26 11:19:25 +00:00
zYne
4ed4477177
2007-06-26 10:23:23 +00:00
zYne
87474aa019
fixes #367
2007-06-26 10:12:00 +00:00
zYne
a3f2cae863
fixes #360
2007-06-26 10:05:26 +00:00
zYne
d76814c8d1
removed Doctrine_Identifier
2007-06-26 09:51:08 +00:00
zYne
4add4697d0
removed deprecated classes
2007-06-26 09:42:50 +00:00
nicobn
215d06c544
- Moved the record template inside the builder class, otherwise it is
...
not included in the bundle; removed Record.tpl
- Changed manual newlines to PHP_EOL
- Added a parameter to explicitly set the table name
- Added a parameter to explicitly set the class file target
2007-06-26 06:03:15 +00:00
subzero2000
f3245d4389
Corrected minor typo in phpDoc comment.
2007-06-26 04:36:12 +00:00
nicobn
d548a43984
The method is not static anymore, replaced self by $this.
2007-06-26 00:58:21 +00:00
nicobn
4d5745c7eb
Added two parameters so a different file name / class name can be specified.
2007-06-26 00:41:48 +00:00
zYne
15db4bd535
2007-06-25 21:36:45 +00:00
zYne
fd54aae035
2007-06-25 20:52:42 +00:00
zYne
d4cbba723b
2007-06-25 20:49:15 +00:00
zYne
612793d9cb
fixes #359
2007-06-25 20:08:16 +00:00
zYne
f86ac4c8e2
getDbh() now auto-connects
2007-06-25 19:56:15 +00:00
zYne
7488435668
2007-06-25 19:16:39 +00:00
zYne
1273563b31
Export now executes the constraint clauses after the CREATE TABLE clauses
2007-06-25 19:03:58 +00:00
zYne
c45823aa49
new transaction tests
2007-06-25 18:47:36 +00:00
subzero2000
a795996efa
Addresses issue of infinte function recursion when saving related objects. Fixes #363 .
2007-06-25 17:51:37 +00:00
zYne
a593d746c3
2007-06-25 17:51:19 +00:00
subzero2000
dea4968a23
Completes deprecation of Doctrine_Db. Fixes #362 .
2007-06-25 17:48:44 +00:00
zYne
fb46481ab2
added namespaces for event constants
2007-06-25 17:24:20 +00:00
zYne
efea8acc66
2007-06-25 17:01:29 +00:00
nicobn
83128e79b4
Removed debug lines (let's hope I did not forget anything else !)
2007-06-25 17:00:43 +00:00
nicobn
a36461c825
/* */ to // style comments in methods
2007-06-25 16:56:46 +00:00
nicobn
56e2d36281
Coding standard compliance
2007-06-25 16:54:55 +00:00
zYne
4f7e92ffb9
2007-06-25 10:21:57 +00:00
zYne
14488476fc
2007-06-25 10:16:54 +00:00
zYne
e1fbae22a4
EventListener method names updated
2007-06-25 10:08:03 +00:00
zYne
628aac0ef4
2007-06-25 09:12:09 +00:00
zYne
ab1f1de913
2007-06-24 22:23:53 +00:00
zYne
0d5b4493c3
formatting fix
2007-06-24 22:12:46 +00:00
zYne
ee07246d67
2007-06-24 22:04:57 +00:00
zYne
401c3fe9b7
2007-06-24 21:50:19 +00:00
zYne
0a2b07350a
deprecated Doctrine_Db
2007-06-24 21:47:06 +00:00
zYne
782cbe37f8
new template methods
2007-06-24 21:37:19 +00:00
zYne
0ea15604fd
data type check
2007-06-24 21:05:12 +00:00
zYne
431b63d6bd
fixes #356
2007-06-24 21:04:54 +00:00
zYne
b116d3ad3f
2007-06-24 20:11:41 +00:00
hansbrix
2206476d55
avoid attempting to export non-record classes like symfony's sfDoctrineRecord
2007-06-23 22:53:00 +00:00
nicobn
613fdf0952
Added the XML schema import facilities.
2007-06-22 17:48:27 +00:00
gnat
658d4bb618
Commented out unreacheable code.
2007-06-22 17:39:45 +00:00
gnat
2a7037cd31
uninitialized/unknown variables
2007-06-22 17:38:08 +00:00
gnat
80f15ee668
undefined/uninitialized variable
2007-06-22 17:37:32 +00:00
gnat
4ad0c5045a
undefined/uninitialized variables
2007-06-22 17:37:06 +00:00
gnat
f62897b873
While updating sfDoctrine, stumbled across these errors. this->_stmt->queryString is a protected field and should be access from getQuery() instead.
2007-06-21 16:37:27 +00:00
zYne
8faf31e3ae
2007-06-20 14:12:31 +00:00
zYne
68b3a6a966
new classes Doctrine_Event, Doctrine_Connection_Profiler_Exception and Doctrine_Util
2007-06-19 23:34:30 +00:00
zYne
113ac3b9e0
1. Merging two event listener APIs
...
2. Merging Doctrine_Db functionality into Doctrine_Connection
3. Merging Doctrine_Db modules to Doctrine_Connection plugins
2007-06-19 23:33:04 +00:00
zYne
bef66f5b4a
2007-06-19 23:28:39 +00:00
zYne
5718cbb16c
2007-06-19 23:20:39 +00:00
zYne
99ad6fbbc9
2007-06-19 23:15:52 +00:00
zYne
ea30a65b57
2007-06-19 23:07:05 +00:00
zYne
7eba036cdc
2007-06-19 22:55:34 +00:00
zYne
b525df802e
2007-06-19 22:02:11 +00:00
zYne
fbc1d9c3ec
2007-06-19 21:16:04 +00:00
zYne
ad3f5bb6ff
2007-06-19 19:51:25 +00:00
zYne
4ed1d1154a
2007-06-19 19:32:52 +00:00
zYne
91f51b92b9
fixes #351
2007-06-19 19:26:18 +00:00
zYne
50c9cf3bc6
2007-06-19 18:53:46 +00:00
zYne
7cac28ba34
2007-06-19 12:25:28 +00:00
zYne
a7632ff797
fixed index generation
2007-06-19 11:18:10 +00:00
zYne
0c560d73f9
2007-06-19 11:10:13 +00:00
zYne
997d066f02
fixed dropTable()
2007-06-19 10:58:54 +00:00
zYne
a0dd44ad63
2007-06-19 10:43:19 +00:00
zYne
c5d0890904
2007-06-19 10:40:39 +00:00
zYne
1c92387852
2007-06-19 10:33:48 +00:00
zYne
6ff9ee9124
2007-06-19 10:15:44 +00:00
zYne
3736c71a2c
2007-06-19 10:06:19 +00:00
zYne
ab530652bb
added getRoot
2007-06-18 23:42:30 +00:00
zYne
a770f83d45
DQL-to-SQL lazy conversion
2007-06-18 22:30:15 +00:00
zYne
78e1ec9757
2007-06-18 21:22:11 +00:00
zYne
a6a612332f
2007-06-18 20:00:44 +00:00
zYne
45ceb8b03b
2007-06-18 19:58:53 +00:00
zYne
c12f764c95
tests for index auto-adding
2007-06-18 19:20:49 +00:00
zYne
1ad4afaf8a
2007-06-18 18:54:48 +00:00
zYne
7249b971f0
formatting fix
2007-06-18 18:30:19 +00:00
zYne
cfbcc8d4ee
gzip support
2007-06-18 18:27:11 +00:00