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