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

1215 Commits

Author SHA1 Message Date
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