Jonathan.Wage
2c24b00385
Fixed issue with foreign constraint errors and saving order.
2007-11-16 22:27:28 +00:00
Jonathan.Wage
cb2d131364
Fixed so packages folder is not created unless it is needed/used.
2007-11-15 23:26:29 +00:00
Jonathan.Wage
85ef90fd02
Fixed connection binding so it is only put in the base class.
2007-11-15 23:22:18 +00:00
Jonathan.Wage
6db25011a7
Added docs and enhanced fromArray()
2007-11-15 22:45:09 +00:00
Jonathan.Wage
91cb642d7f
Moved loadTemplate() and actAs() generating to the setUp() method
2007-11-15 22:07:58 +00:00
Jonathan.Wage
04f74dc089
Initial entry of Doctrine_Log(ported from Zend_log)
2007-11-15 21:02:17 +00:00
Jonathan.Wage
e8087eb53f
Fixed issue with create() and the array of passed data
2007-11-15 21:01:19 +00:00
Jonathan.Wage
f11e95497c
Fixed issue with data dumping. Added exception throwing when you use data key that does not exist.
2007-11-15 19:46:17 +00:00
Jonathan.Wage
15bf4d70e0
Fixed issue with specifying directory as schema
2007-11-15 19:43:49 +00:00
Jonathan.Wage
5c6e8f8eb9
New coverage for parser, yaml schema parsing, a few fixes.
2007-11-15 05:16:31 +00:00
zYne
ff892b17c3
fixed enum parameter conversion in count()
2007-11-14 21:57:05 +00:00
zYne
ca736ec75a
added toArray()
2007-11-14 21:06:30 +00:00
zYne
b2c275583e
2007-11-14 20:43:20 +00:00
ppetermann
d862b013d0
making Doctrine::dump() indent arrays
2007-11-14 13:13:23 +00:00
Jonathan.Wage
94007b0a74
Fixes #471
2007-11-14 02:29:05 +00:00
Jonathan.Wage
32c6288179
Fixes #600
2007-11-14 01:57:39 +00:00
zYne
43c8eba2c7
2007-11-13 23:08:12 +00:00
zYne
8e1f157882
nested plugin functionality added
2007-11-13 22:28:37 +00:00
zYne
edfd9f6506
2007-11-13 22:05:12 +00:00
adrive
68d12596ce
Quoted inheritance type value to be able to use string values as keyValues
2007-11-13 16:33:17 +00:00
romanb
187c194bbd
Fixed an issue with the NestedSet where the baseAlias was not reset properly under some circumstances.
2007-11-13 15:52:45 +00:00
zYne
a4795d6300
added hasImpl()
2007-11-12 18:08:20 +00:00
Jonathan.Wage
ed383556ba
Merged r3136:3137
2007-11-11 00:51:13 +00:00
Jonathan.Wage
b889f427c3
Merged r3134:3135 ( fixes #582 )
2007-11-10 22:00:21 +00:00
Jonathan.Wage
e53a659c6e
Merged r3132:3133 fixed #591
2007-11-10 21:39:36 +00:00
Jonathan.Wage
060784adfb
Merge r3127:3129 ( fixes #522 )
2007-11-10 20:11:17 +00:00
Jonathan.Wage
b1c4c5f53f
Merged r3122:r3126
2007-11-10 19:54:34 +00:00
Jonathan.Wage
ec1ec99446
Merge r3121 ( fixed #573 )
2007-11-10 19:40:31 +00:00
zYne
071d5425bc
fixes #580
2007-11-10 15:46:01 +00:00
zYne
bd31958035
drafting the initial CTI support
2007-11-10 13:21:40 +00:00
zYne
8f11427595
added Doctrine_Connection::delete() method (needed as a convenience method as well as for the upcoming CTI support)
2007-11-10 10:37:10 +00:00
zYne
a8d9830dda
added update() method, needed for various things but especially for the CTI implementation
2007-11-10 00:57:13 +00:00
Jonathan.Wage
84fb1ecdc4
Fix array_merge so that schemas that are loaded after are merged in to the existing array of schemas.
2007-11-08 23:49:01 +00:00
zYne
5bb4493864
Drafting the initial CTI support, only works for simple inserts now
2007-11-08 23:03:28 +00:00
dbrewer
3f3103a195
Fixed #587 : added 'removeRecord()' method to Doctrine_Table, which is
...
called in Doctrine_Connection_UnitOfWork->delete().
2007-11-08 22:35:55 +00:00
phuson
175d3307c2
fixed ticket #571
2007-11-08 21:02:56 +00:00
Jonathan.Wage
ee9e79d09e
Fix schema merging and fixed issue with fixtures saving.
2007-11-08 20:59:38 +00:00
wolfpakz
c50b2bc375
- Fixed PHP notice in unserialize() caused by $keyColumn not being initialized.
2007-11-08 20:52:49 +00:00
Jonathan.Wage
769fd478ad
-
2007-11-08 19:01:22 +00:00
Jonathan.Wage
0038138095
Rewrote data loading to support I18n data, nested set data, and better relationship defining for fixtures. Also fixes ticket:528
2007-11-08 18:59:48 +00:00
Jonathan.Wage
37898ac06a
Fix to toArray() when you use toArray(true) on a record that has not been saved yet but has references
2007-11-08 18:54:55 +00:00
Jonathan.Wage
0003c233d4
Fix to fromArray()
2007-11-08 18:53:30 +00:00
Jonathan.Wage
563377cc39
Fix for missing sql when creating tables for model with templates that result in addition tables
2007-11-08 18:52:08 +00:00
Jonathan.Wage
e33130b80e
Fix for coding standards.
2007-11-08 18:50:20 +00:00
samw3
87d58d9964
fixed processRenamedColumns() to work with mysql migrations
2007-11-08 17:10:08 +00:00
samw3
d0d026af05
ugh.. forgot some debug code.
2007-11-08 14:01:03 +00:00
samw3
85299543a3
changed getIntegerDeclaration() to handle $field['default']==NULL condition
2007-11-08 13:58:56 +00:00
Jonathan.Wage
93e1945144
Added trim to package path.
2007-11-08 00:29:15 +00:00
romanb
0ad03d6e2f
Fixed #577
2007-11-07 15:38:20 +00:00
samw3
f6a0aeb5d7
initialized $columns in listTableColumns. it threw an undefined variable error if the table was missing or had no columns defined.
2007-11-07 04:15:45 +00:00
Jonathan.Wage
a476c62efe
Cleaned up some stuff with schema generation and removed name: key from column definition.
2007-11-07 01:57:01 +00:00
Jonathan.Wage
3b898ca983
Added getTableName() and setTableName()
2007-11-07 01:41:50 +00:00
nightfreak
89ce4a28ec
=added the missing getter for the Doctrine_Relation object
2007-11-05 18:05:17 +00:00
meus
ea803566b6
fix dsn so that sqlite:///full/unix/path/test.db and sqlite://c:/full/windows/path/test.db works
2007-11-03 20:34:19 +00:00
zYne
1945b0d7a1
fixes #562
2007-11-03 15:47:24 +00:00
phuson
c6f53114a3
Fixed Ticket #561 . Typo.
2007-11-02 16:59:20 +00:00
meus
79e52571aa
added a convenience method and new coverage stuff
2007-11-02 16:07:11 +00:00
Jonathan.Wage
d099c2e357
Changes extenstion to .php instead of .class.php to be consistant with all of Doctrine.
2007-11-01 23:54:27 +00:00
Jonathan.Wage
6f07c2b100
Fixes to options for builder.
2007-11-01 23:45:33 +00:00
zYne
53413e53a0
2007-11-01 23:03:32 +00:00
zYne
e5f76c44bb
2007-11-01 22:58:10 +00:00
zYne
56432118c9
added getParams()
2007-11-01 22:55:49 +00:00
zYne
01e41f3d27
added possibility for setting user-defined params
2007-11-01 22:52:40 +00:00
Jonathan.Wage
0a2ecb6032
Class renaming.
2007-11-01 22:26:10 +00:00
Jonathan.Wage
8bfbd6a7c7
Clean up, initial entry of root txt files, fixed a few broken unit tests. New documentation.
2007-11-01 19:45:36 +00:00
Jonathan.Wage
146098c3d6
moved around and initial entry of sluggable code.
2007-11-01 15:15:57 +00:00
Jonathan.Wage
7a43ae4091
Initial entry of sluggable template.
2007-11-01 14:47:23 +00:00
Jonathan.Wage
832a8e5595
Refactored code to less lines.
2007-11-01 14:46:11 +00:00
zYne
39b8a3e3e2
2007-10-30 19:19:53 +00:00
zYne
1d6020c454
fixes #533 , using DQL identifier aliases before column names is now optional when selecting from single component
2007-10-30 19:10:18 +00:00
gnat
0695a6ab92
$this->parent doesn't exist
2007-10-30 17:51:33 +00:00
romanb
dc4be22bfe
Added missing attribute check to Doctrine_Configurable. Fixes #545 .
2007-10-30 16:08:35 +00:00
romanb
dfd15a6068
Introduced ATTR_TBLNAME_FORMAT. Closes #257
2007-10-30 13:30:50 +00:00
zYne
b0c7dce47f
fixed record state handling with aggregate values
2007-10-29 23:34:10 +00:00
zYne
486375f844
2007-10-29 22:57:32 +00:00
meus
755316c3fc
added tesst for Tokenizer and Search to get them under full coverage. relatex refactorings and coverage reports
2007-10-29 20:25:38 +00:00
meus
53b05c1d4a
added tests to get complete coverage of Transaction, RawSQL, AuditLog and Query/Having. Related refactorings. Added some getters to be able to test. Also added coverage report for these changes
2007-10-29 19:50:16 +00:00
bschussek
520f4a1056
fixed: old mapped values were deleted when data was hydrated into an existing record (lazy-loading)
2007-10-29 19:26:22 +00:00
zYne
dc5e0cee32
fixes #515 , correlated subqueries with IN operator
2007-10-29 18:04:22 +00:00
zYne
991f456fa4
fixes #514 , literal value as the first operand for IN
2007-10-29 17:54:40 +00:00
pookey
c6facf9ea0
reverting previuos commit
2007-10-29 14:36:21 +00:00
pookey
ab6a7c9385
adding docs for Query::reset() method
2007-10-29 14:30:06 +00:00
pookey
f2eb153723
replacing tabs with spaces
2007-10-29 12:22:53 +00:00
phuson
ff7aac8b30
New fix for the check for duplicates between explicitly declared custom relations and autogenerated relations.
2007-10-29 05:47:50 +00:00
phuson
53eb2ea087
revert change because it was breaking something else...needs to think of another way to do this.
2007-10-29 01:07:14 +00:00
phuson
e7f64afb24
Check for duplicates between custom alias relations and auto-generated relations.
2007-10-27 11:09:13 +00:00
ppetermann
de220fa43f
found a few bugs when i wanted to use Doctrine_Import_Mysql::listTableConstraints()
...
fixed code so those problems wont occure. However the method still not works as intended,
more information see mail at doctrine-dev mailinglist.
Fixed same Problems in other drivers aswell.
2007-10-26 14:56:03 +00:00
meus
eb8b3915fa
fixed getRecord/Collection as xml. removed old obtainIdentifiers function and fixed count call
2007-10-26 09:56:31 +00:00
Jonathan.Wage
db10d4a00e
Formatting/standards changes.
2007-10-26 04:13:29 +00:00
Jonathan.Wage
4428b51746
Fixed bug with default for boolean values not working properly.
2007-10-25 22:26:25 +00:00
Jonathan.Wage
3e31860edd
Troubleshooting why this does not work and I cleaned up the code.
2007-10-25 22:03:59 +00:00
Jonathan.Wage
231b42eb67
Initial entry of timestampable template.
2007-10-25 21:02:06 +00:00
Jonathan.Wage
2ff1dcadc5
Added better support for attributes generation in doctrine records
2007-10-25 21:01:29 +00:00
Jonathan.Wage
872c81cb5a
Fix for index generation only generating the last index only.
2007-10-25 17:49:36 +00:00
Jonathan.Wage
6334c5a165
Reversing fix.
2007-10-25 16:02:00 +00:00
Jonathan.Wage
0da6243086
Fixes to model generation.
2007-10-25 15:22:34 +00:00
Jonathan.Wage
1989b099be
Fixes [ticket:512]
2007-10-25 14:21:25 +00:00
Jonathan.Wage
ab597cdf30
Fixes [ticket:500]
2007-10-25 14:18:26 +00:00
Jonathan.Wage
bea129db14
Added support for packages to the doctrine builder and yaml schema.
2007-10-24 21:21:45 +00:00
Jonathan.Wage
094e6cb3bd
Added to autoloading to support caching the loaded model paths so we can retrieve them with autoload.
2007-10-24 21:20:19 +00:00
ppetermann
c610ba0ab2
corrected creation of Doctrine_Event object
...
to prevent unexpected behaviour during usage
of preHydrate/postHydrate hooks.
2007-10-24 13:44:58 +00:00
meus
3cdaf71ad0
refetch state after preSave listener in unit of work. if state changes in preSave listener it is not taken into concideration when an object is saved/deleted etc. also fixed some small stuff in tests and added new coverage report
2007-10-23 20:21:22 +00:00
Jonathan.Wage
195dff3ec9
Renamed.
2007-10-23 03:50:45 +00:00
Jonathan.Wage
197832739f
Renamed.
2007-10-23 03:48:11 +00:00
Jonathan.Wage
372831d912
Tweaks.
2007-10-23 03:44:29 +00:00
Jonathan.Wage
34d4f12866
-
2007-10-23 03:39:57 +00:00
Jonathan.Wage
e50b27626b
Misc. tweaks.
2007-10-23 00:37:39 +00:00
phuson
a3c39fedcc
Applied patch for ticket #499 . Tested and it seems to be working correctly with patch.
2007-10-22 21:47:05 +00:00
zYne
a4ae926a85
added isIdentifier()
2007-10-22 17:33:47 +00:00
zYne
a01ed0641f
fast identifier search for Doctrine_Hydrate, now the hydration should run in O(1) instead of O(n)
2007-10-22 16:38:03 +00:00
romanb
6ed2e63d88
added hydration mode HYDRATE_NONE
2007-10-22 16:32:07 +00:00
Jonathan.Wage
9895dc1ca3
Changed version to valid version.
2007-10-22 05:11:23 +00:00
Jonathan.Wage
8588f221dd
Added version and moved package file.
2007-10-22 05:09:22 +00:00
romanb
198b34c0b4
fix to assignDefaultValues. should fix #468
2007-10-21 20:12:36 +00:00
meus
a217a6edbc
fixing another linting error
2007-10-21 15:01:10 +00:00
meus
d1f32b05a6
adding missing ; at line 67
2007-10-21 14:47:22 +00:00
romanb
7d1e03901a
cleaning up draft/
2007-10-21 09:00:40 +00:00
romanb
7dbb38719d
fixed #431
2007-10-21 08:39:13 +00:00
romanb
3799de836d
fixed #485
2007-10-21 08:16:31 +00:00
Jonathan.Wage
edc03d5a33
Added magic finder methods. findBy(.*) and findOneBy
2007-10-21 07:24:18 +00:00
Jonathan.Wage
27b369a5f3
Mass search and replace for coding standards changes, doc block formatting, and code spacing.
2007-10-21 06:23:59 +00:00
Jonathan.Wage
4ce2a36968
Fix to naming of spyc and update docs for cli.
2007-10-21 01:16:04 +00:00
Jonathan.Wage
e2a204e0dc
Enhancing CLI. New commands and cleaning up.
2007-10-20 19:14:30 +00:00
Jonathan.Wage
821cc6e51c
Added confirmation for db drop and added ability to make cli interactive.
2007-10-20 17:20:56 +00:00
Jonathan.Wage
bbf05e1676
Fixed notice.
2007-10-20 15:31:14 +00:00
romanb
a14db264ee
reapplied my changes to Export.php that were (accidently?) reverted by jonwage
2007-10-20 14:57:47 +00:00
Jonathan.Wage
975b74bd6f
Enhancements to CLI and removing sandbox files. Will add ignores.
2007-10-20 06:12:20 +00:00
Jonathan.Wage
8d2aebad70
A little formatting and documentation.
2007-10-20 02:30:15 +00:00
Jonathan.Wage
526c4ab1c8
Made methods static.
2007-10-19 22:50:00 +00:00
Jonathan.Wage
9440cf04f6
Additions to migrations to support generating migrations from models or existing databases.
2007-10-19 22:11:45 +00:00
Jonathan.Wage
16933ef9be
Removed Facade.
2007-10-19 14:30:48 +00:00
Jonathan.Wage
779003edcc
Removed Facade and moved all static methods to Doctrine class.
2007-10-19 14:23:42 +00:00
romanb
dfdcf002a1
fixes for exporting indices
2007-10-19 13:16:22 +00:00
romanb
9b4f5db135
fix for mysql export module (allow specifying a default without specifying a length)
2007-10-19 11:13:49 +00:00
romanb
f1c6657c0f
introduced dropForeignKey() to Export and Migration
2007-10-19 10:58:49 +00:00
Jonathan.Wage
9679e5531b
Fix to notice.
2007-10-18 21:57:38 +00:00
zYne
eb9842dcec
2007-10-18 20:39:37 +00:00
zYne
ed8b89fc3b
removed deprecated schema classes
2007-10-18 19:46:06 +00:00
zYne
1a990b6eae
fixed version column attributes
2007-10-18 19:39:19 +00:00
zYne
ee1cf1013a
fixed updateIndex()
2007-10-18 19:37:50 +00:00
phuson
1ddd4f5db4
Added back the generation of "equal: true" from schema files.
2007-10-18 19:36:18 +00:00
zYne
a6d05624f5
fixed versionable template to adhere to generic plugin structure
2007-10-18 19:13:30 +00:00
zYne
ea5e58fece
removed deprecated schema and object classes
2007-10-18 19:05:00 +00:00
romanb
28dcf18508
made version comparison less strict
2007-10-18 16:36:55 +00:00
Jonathan.Wage
1bbc5b15ee
Fixes to relationship building and added support for new schema options.
2007-10-17 23:14:28 +00:00
zYne
08bec68587
2007-10-17 21:17:01 +00:00
zYne
5f0b6cd1cd
fixed VALIDATE_ALL constant value
2007-10-17 19:38:53 +00:00
romanb
e428845d0e
corrected some tests
2007-10-17 19:24:03 +00:00
Jonathan.Wage
e2e38849ac
Added support for connection binding, templates, act as, and attributes.
2007-10-17 19:21:06 +00:00
romanb
f8ee0975c0
fix for the fix.. (foreign key creation)
2007-10-17 19:09:48 +00:00
romanb
29c220f482
export & migration fix
2007-10-17 18:49:02 +00:00
jepso
d9e213a2cf
fixes #484
2007-10-17 14:50:55 +00:00
phuson
3e39fcf30c
Implemented generation for loadTemplate() from Schema file.
2007-10-17 09:18:59 +00:00
phuson
e63393cd39
Added generation for "equal: true" in the relations block of yml.
2007-10-17 05:43:07 +00:00
Jonathan.Wage
852a2fdf87
Fixes to importing and merging of data fixtures from multiple files.
2007-10-17 01:54:27 +00:00
Jonathan.Wage
05119fe758
Fixes for relationship building.
2007-10-17 01:12:21 +00:00
Jonathan.Wage
6ee5df4aab
Addex support for indexes and attributes to schema.
2007-10-16 23:33:14 +00:00
zYne
359d07b04d
fixes #484 , validator nospace not validating correctly
2007-10-16 22:12:04 +00:00
zYne
b102ebf9fb
2007-10-16 22:10:49 +00:00
zYne
76bd8b76e4
added more stopwords to analyzer
2007-10-16 21:49:55 +00:00
zYne
e10acab862
drafting the new class Doctrine_Search_File
2007-10-16 21:33:06 +00:00
romanb
4fb5f7c201
added createForeignKey() support to export module and migrations
2007-10-16 17:05:52 +00:00
romanb
abde67f73c
added createConstraint()/dropConstraing() support to migrations
2007-10-16 16:22:02 +00:00
Jonathan.Wage
37cec1d690
-
2007-10-16 05:39:49 +00:00
Jonathan.Wage
50ab186792
Fixes for sql exporting so it will get all loaded models if no directory is specified.
2007-10-16 02:37:31 +00:00
Jonathan.Wage
f2a7390c29
Fixed calls to wrong static functions and added some functionality to sandbox.
2007-10-16 00:48:09 +00:00
samw3
c8812542b1
fixed newlines (I had my editor in windoze mode)
2007-10-16 00:28:39 +00:00
samw3
d522ba7355
changes db drivers to match the new two parameter Export::getDeclaration()
2007-10-16 00:03:15 +00:00
Jonathan.Wage
09f082421b
Removed because it is replaced with a Doctrine_Task and is available from the cli. You can also call it directly with Doctrine_Facade::compile();
2007-10-15 23:36:00 +00:00
Jonathan.Wage
dd5347b096
Fix to alter table command.
2007-10-15 23:16:54 +00:00
Jonathan.Wage
41f8d264e5
Initial entry.
2007-10-15 23:04:39 +00:00
Jonathan.Wage
f54687fdcb
Fixes to original compiler code to allow the exporting of certain drivers.
2007-10-15 23:03:08 +00:00
Jonathan.Wage
4d36734953
Moved static methods from Doctrine class to Doctrine_Facade and updated the tasks to use Doctrine_Facade.
2007-10-15 22:05:35 +00:00
zYne
ead84035f8
2007-10-15 22:01:04 +00:00
zYne
c4b3a18a59
table refactoring continues
2007-10-15 21:39:35 +00:00
Jonathan.Wage
6394c79281
initial entry
2007-10-15 21:25:53 +00:00
Jonathan.Wage
9e9ab7fb33
Added documentation.
2007-10-15 21:22:31 +00:00
Jonathan.Wage
37ffee975c
Moved the tasks from the cli so they are not together.
2007-10-15 21:18:13 +00:00
samw3
ef40c0492f
getConnectionByTableName() returns Doctrine_Manager::connection() if table does not exist
2007-10-15 21:05:20 +00:00
wernerm
3eb463ad4f
Moved the cli_compiler back to lib. It has also been updated again.
2007-10-15 20:56:55 +00:00
zYne
d6ef2b3f4e
removed deprecated attribute from getTable()
2007-10-15 20:56:23 +00:00
zYne
3b8efd07e6
added initIdentifier()
2007-10-15 20:43:24 +00:00
Jonathan.Wage
54c3b98d73
Fixes.
2007-10-15 20:39:44 +00:00
pookey
071febe96c
fixing handling of default values
2007-10-15 20:06:28 +00:00
Jonathan.Wage
4f996de800
Updated generated accessors to have load argument.
2007-10-15 17:52:34 +00:00
Jonathan.Wage
c5daa2310c
Fix to generated accessors.
2007-10-15 15:08:26 +00:00
Jonathan.Wage
3048620a05
Fixes for buildingsql and generating models.
2007-10-15 15:01:54 +00:00
Jonathan.Wage
0dbea77dcd
Fix to Builder so the generate_accessors option is used.
2007-10-15 14:19:51 +00:00
Jonathan.Wage
33c209db7a
Fixes up the getters/setters that are generated in Builder.
2007-10-15 14:18:31 +00:00
Jonathan.Wage
38331335ab
Fixes to indexes and to not call parent::setUp() in the base classes.
2007-10-15 14:09:59 +00:00
Jonathan.Wage
34af8e3aa1
Moved cli to sandbox folder. Fixes to importing schema and generating sql.
2007-10-15 13:47:24 +00:00
zYne
3cea839f45
2007-10-14 22:11:48 +00:00
zYne
39bfb030c9
2007-10-14 20:32:48 +00:00
pookey
0f79ed1d56
improvement to option handling, and added accessor generators
2007-10-14 19:47:38 +00:00
phuson
15cdb65ba7
Added missing argument.
2007-10-14 07:58:52 +00:00
phuson
a98961bd03
Implemented generation of indexes and their definitions from schema files.
2007-10-14 06:44:49 +00:00
zYne
b202f467c3
2007-10-13 21:40:43 +00:00
romanb
e79f1c34cf
small improvement to Doctrine_Hydrate_Array::search()
2007-10-13 20:46:45 +00:00
zYne
ec292991ce
huge speed improvement for hydration hooks
2007-10-13 19:30:45 +00:00
zYne
32a4639aa4
batch update functionality added
2007-10-13 17:52:16 +00:00
zYne
7d7313ab4a
2007-10-13 17:06:26 +00:00
zYne
fa5c28fde0
updated plugin classes to use the refactored main class
2007-10-13 16:49:42 +00:00
zYne
a9e5a35917
plugin refactoring continues
2007-10-13 16:27:47 +00:00
zYne
a73ce3a4b5
2007-10-13 09:01:42 +00:00
zYne
657d656614
refactored plugins
2007-10-13 09:01:03 +00:00
zYne
780c0deb1b
2007-10-13 08:55:06 +00:00
zYne
483cf72448
2007-10-13 08:50:48 +00:00
zYne
6f5ae1c305
2007-10-13 08:39:26 +00:00
zYne
f3867dbf71
2007-10-12 21:32:26 +00:00
ppetermann
37d7707f57
ok, fixing last fix
...
after my last commit i did some research in the php/pdo documentation and found that the port (well even the dsn) syntax depends a lot on the driver.
so my last 'fix' did fix it for mysql - but broke it for dblib/mssql, this patch should make it work with those aswell (just moved jonwages solution to a own case for dblib & mssql driver). Someone should check if it works with the other drivers (i dont have all those database systems) cause looking at the doc
did show some more diffrences. (PHP Documentation for example says the dsn for pgsql needs to be delimited by spaces instead of semi-colons)
2007-10-12 13:18:40 +00:00
ppetermann
2621996cb2
fixed dsn bug (if port given pdo wants it to be added as
...
port=12345; to dsn not :12345)
2007-10-12 12:25:13 +00:00
wernerm
97a1552c41
Updated the cli compiler to account for the other cli components that were introduced recently.
2007-10-12 02:20:56 +00:00
Jonathan.Wage
057266c068
Fix to dsn and ports
2007-10-11 22:42:07 +00:00
Jonathan.Wage
0e72ae2594
Documentation changes.
2007-10-11 05:46:38 +00:00
Jonathan.Wage
05f74be1b7
Initial entry if cli and out of box configuration methods.
2007-10-11 05:43:29 +00:00
Jonathan.Wage
51a444e2e8
More documentation.
2007-10-11 04:24:01 +00:00
Jonathan.Wage
347ec1272b
Documentation.
2007-10-11 04:23:00 +00:00
Jonathan.Wage
cdc4943263
Comments.
2007-10-11 04:13:23 +00:00
Jonathan.Wage
c5e1a15f5a
A few tweaks to arguments and how they are handled.
2007-10-11 04:11:50 +00:00
Jonathan.Wage
81324ec826
Fleshing out functionality of CLI system and changed syntax of migration classes to only required a to parameter since we already know where we are coming from.
2007-10-11 03:23:33 +00:00
Jonathan.Wage
5255145701
Tweaks to CLI and initial entry of some new blank tasks.
2007-10-10 18:21:36 +00:00
Jonathan.Wage
0da69dd454
Removed initial test task.
2007-10-10 03:47:11 +00:00
Jonathan.Wage
c6b44714f3
Initial entry of cli tasks.
2007-10-10 03:46:17 +00:00
Jonathan.Wage
b005689e8a
More changes to Cli system.
2007-10-10 03:45:02 +00:00
Jonathan.Wage
4e877c52e4
Fleshing out the cli system.
2007-10-10 02:31:11 +00:00
Jonathan.Wage
a016cb195c
Removing resource from drivers.
2007-10-09 22:46:17 +00:00
Jonathan.Wage
84b16ff70f
-
2007-10-09 22:45:37 +00:00
zYne
ec262f0c13
added skeleton for the resource adapter
2007-10-09 22:18:51 +00:00
Jonathan.Wage
e80876ccf3
Fleshed out cli system and added one sample task.
2007-10-09 22:15:14 +00:00
Jonathan.Wage
b930116218
Initial entry of skeleton for Doctrine_Cli
2007-10-09 21:39:48 +00:00
Jonathan.Wage
4f0234fff4
Removed propel style accessors.
2007-10-09 20:51:42 +00:00
Jonathan.Wage
8598411b02
Added support for Propel style getters/setters to __call()
2007-10-09 20:08:23 +00:00
Jonathan.Wage
029761d78d
Reversing change.
2007-10-09 17:38:11 +00:00
pookey
16c32e2bd6
Fixing bindParam(), which should have it's 2nd param passed by reference, not value
2007-10-09 13:24:31 +00:00
Jonathan.Wage
4d38b32209
Added ability to put php in all inputted files/strings to parser.
2007-10-09 02:21:53 +00:00
Jonathan.Wage
dd71ec4b06
Fixes for composite keys giving error.
2007-10-09 01:34:36 +00:00
Jonathan.Wage
fe34a0d29f
Fix to fixtures importing and relationships satisfying.
2007-10-08 23:55:25 +00:00
zYne
c69c0c5d53
support for persistent connections, fixes #447
2007-10-08 23:22:31 +00:00
zYne
9a0ef8e97f
unique constraints automatically removed from translation table
2007-10-08 23:11:49 +00:00
zYne
eed1455f52
unique constraints no longer part of auditlog version table
2007-10-08 23:03:59 +00:00
zYne
8fb82c2f65
Fixes #427 , now the AuditLog component should work
2007-10-08 22:58:53 +00:00
Jonathan.Wage
1f1fef741c
Fix to generating classes.
2007-10-08 22:53:28 +00:00
Jonathan.Wage
94bf9a4c7c
Fix for importing.
2007-10-08 22:47:59 +00:00
zYne
8c413b2427
2007-10-08 22:45:34 +00:00
phuson
dd076e47eb
added logic check for when $models array is empty, but $specifiedModels isn't
2007-10-08 22:43:09 +00:00
zYne
18857d77e4
hasTemplate() added
2007-10-08 21:22:13 +00:00
Jonathan.Wage
3c6eb60037
Fixes for auto completing relationships.
2007-10-08 18:46:38 +00:00
Jonathan.Wage
8cc2c977f0
Formatting fixes.
2007-10-08 18:40:14 +00:00
gnat
102f106838
fix class generation of yml schema fully defined m2m relationships.
2007-10-08 16:49:15 +00:00
adamthehutt
6b26a7b813
Fix for ticket #457 , moves Doctrine_Record::find/One() to Doctrine_Table::execute/One()
...
Ticket: 457
2007-10-08 16:39:12 +00:00
jepso
f1162cd56d
use array_map instead of foreach loop
2007-10-08 16:12:02 +00:00
Jonathan.Wage
300669d13a
Changed methods to public.
2007-10-08 16:04:46 +00:00
Jonathan.Wage
0b6aa395ed
Fixes for migration to allow migrating from current version to latest version.
2007-10-08 15:58:23 +00:00
romanb
69874b729f
small migration fix (notice+warning when the migration folder is empty because of uninitialized variable)
2007-10-08 09:00:20 +00:00
zYne
6e519eb292
fixes #462
2007-10-07 23:43:26 +00:00
zYne
852f2150bf
fixes #463
2007-10-07 23:42:29 +00:00
zYne
7391081d81
fixed fatal method delegation bug
2007-10-07 23:36:28 +00:00
jepso
d78f992eb6
fixed locator class name constructing
2007-10-07 23:03:43 +00:00
zYne
4e7a66744e
2007-10-07 22:43:33 +00:00
zYne
52346aa6c5
moved hydration listeners to record listener
2007-10-07 22:43:04 +00:00
zYne
dc4d96e92f
2007-10-07 22:21:01 +00:00
zYne
24885c0113
fixed references to get()
2007-10-07 21:34:06 +00:00
zYne
f160487445
2007-10-07 21:31:49 +00:00
zYne
43811d2cc6
updated all the necessary classes to use injectable
2007-10-07 20:58:08 +00:00
zYne
13e75b2ccb
2007-10-07 20:35:22 +00:00
zYne
7a014f6d15
initial draft for locator
2007-10-07 20:31:22 +00:00
pookey
ff1316ebc9
allowing for PHP in YAML files to be parsed
2007-10-07 16:21:04 +00:00
zYne
5c3bea6584
2007-10-06 19:10:14 +00:00
zYne
a20ceff363
tests and implementation for hydrate hooks
2007-10-05 22:31:02 +00:00
gnat
2c7ced23db
allow for both sides of a relationship to be generated from a one sided definition
2007-10-05 22:15:15 +00:00
zYne
f50128c535
Hydrate hooks added
2007-10-05 21:47:38 +00:00
zYne
7ecc82fded
removed deprecated attributes, added bound query part functionality, fixed remaining I18n issues
2007-10-05 21:18:40 +00:00
zYne
7c0aca3cd2
2007-10-05 20:29:33 +00:00
zYne
4634b7c194
2007-10-05 20:28:08 +00:00
Jonathan.Wage
5bec1b2224
Fix for class/alias relation generation.
2007-10-05 19:10:32 +00:00
Jonathan.Wage
3b0f749a58
Fixes for multiple connection handling.
2007-10-05 18:56:36 +00:00
Jonathan.Wage
7bbcb51dcf
Renamed Spyc to DoctrineSpyc to avoid any conflicts with other libraries.
2007-10-05 15:54:36 +00:00
Jonathan.Wage
a085706070
Fixes to loading models and made it so Builder can generate abstract classes.
2007-10-05 14:45:53 +00:00
Jonathan.Wage
e7e153d948
Enabling spyc inclusion.
2007-10-05 05:33:39 +00:00
Jonathan.Wage
956c5dfe91
Fixes for exporting sql to correct connections.
2007-10-05 05:06:42 +00:00
Jonathan.Wage
d2d52a63ce
Tweaks to generated code.
2007-10-05 02:21:31 +00:00
Jonathan.Wage
3f49cc732a
Fixes for new sfDoctrinePlugin
2007-10-04 23:55:37 +00:00
romanb
72b2911761
fixed a bug in Doctrine_Query_Abstract::set(). Missing return value.
2007-10-04 15:06:46 +00:00
Jonathan.Wage
225b904aa7
More api doc changes.
2007-10-03 21:48:53 +00:00
Jonathan.Wage
f99151063d
more api doc changes
2007-10-03 21:47:55 +00:00
Jonathan.Wage
0a6f216efa
Lots of formatting changes, cleanup, doc block changes.
2007-10-03 21:43:22 +00:00
Jonathan.Wage
dc90cca915
Fix for the creating of files and the path to create them at.
2007-10-03 18:57:24 +00:00
mahono
e670e2ab5f
added possibility to use an aliase with Doctrine_Table->createQuery() and some very small refactoring using createQuery() in Doctrine_Table
2007-10-02 11:28:26 +00:00
romanb
f044813046
added blob,clob,gzip type validation
2007-09-30 07:36:17 +00:00
romanb
88fc0f1e95
added enum type validation
2007-09-30 07:26:43 +00:00
jackbravo
34f527adfc
Fixed some syntax errors on Doctrine Search
2007-09-30 01:18:07 +00:00
jackbravo
01a3e06326
Fixed some identifier quoting on sqlite, mysql and pgsql. Added some tests too
2007-09-30 01:17:49 +00:00
zYne
999e03fd59
2007-09-29 15:00:08 +00:00
zYne
526f31bd05
2007-09-29 14:45:38 +00:00
zYne
ed64914bda
2007-09-29 14:35:30 +00:00
romanb
02dd8b1a79
Validator refactoring. 2 new validators: past & future
2007-09-29 12:31:56 +00:00
zYne
4eee98d526
2007-09-29 09:12:01 +00:00
ppetermann
8143d39788
fixed bug in Cache, made Array.php compliant to its/the interfaces documentation (returning false instead of null when nothing found) and changed if statement in Hydrate to react on false, not on null too
2007-09-28 15:55:56 +00:00
Jonathan.Wage
90541334e1
General fixes/work.
2007-09-27 22:02:13 +00:00
lukenukem
ca50bb05c5
Added PostgreSQLs to_char() function to Expression/Pgsql.php.
2007-09-27 18:25:58 +00:00
Jonathan.Wage
4cd00271df
Formatting fixes
2007-09-26 22:38:01 +00:00
Jonathan.Wage
12cc664bf1
Added exportTo() and importFrom() to Collection and Record.
2007-09-26 22:36:32 +00:00
Jonathan.Wage
271d3c8e05
Added support for serialize and json to the parser.
2007-09-26 21:33:18 +00:00
Jonathan.Wage
09ba0c3540
Refactored some more stuff, cleaned things up, adding request validation to the server.
2007-09-26 21:12:52 +00:00
pookey
c929891962
removing tabs
2007-09-26 19:56:20 +00:00
Jonathan.Wage
77daa29c2c
Changed default to yml.
2007-09-25 22:32:32 +00:00
Jonathan.Wage
8c8d8187a5
Tweaks to everything, refactoring hydrating.
2007-09-25 21:39:38 +00:00
Jonathan.Wage
d4e34979d1
Removed some unwanted functions.
2007-09-25 14:09:05 +00:00
Jonathan.Wage
13a1a6199c
Fixes for unit tests being broken.
2007-09-24 22:27:41 +00:00
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
meus
6db13eb597
removed rat comment :P
2007-09-20 21:53:39 +00:00
meus
aae6950889
fixing coding standard $_ infront of private var and removing \e from pcre call due to incompatibility with suhosin
2007-09-20 21:47:24 +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
wernerm
dee6574fc6
An experimental interactive CLI Doctrine 'compiler'
2007-09-19 23:03:46 +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
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
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
Jonathan.Wage
d9e415122f
A few changes to get package generated.
2007-08-31 22:32:37 +00:00
zYne
81ed29c3ad
added <user> tag
2007-08-31 22:29:18 +00:00
zYne
2b53d3369a
2007-08-31 22:28:48 +00:00
zYne
2757d27ca1
2007-08-31 22:26:39 +00:00
Jonathan.Wage
81da7a3a01
Removed.
2007-08-31 22:23:13 +00:00
Jonathan.Wage
30d1d34eb3
Updated.
2007-08-31 22:20:38 +00:00
Jonathan.Wage
70110bb818
Moved around.
2007-08-31 22:14:35 +00:00
Jonathan.Wage
a3481e688b
Initial entry of package xml files.
2007-08-31 22:09:37 +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
zYne
8784fe6644
2007-06-18 18:18:20 +00:00
zYne
33a6a5e3ab
2007-06-17 20:22:39 +00:00
zYne
efb8fc9ed3
2007-06-17 17:57:08 +00:00
zYne
af09158d12
2007-06-17 17:50:05 +00:00
zYne
b8353881b7
fixed sequence handling
2007-06-17 17:49:13 +00:00
zYne
642d44d3d9
2007-06-17 17:14:04 +00:00
zYne
9ed0e6e886
2007-06-17 17:01:35 +00:00
zYne
c5291aedd7
2007-06-15 11:56:55 +00:00
zYne
042a4e411f
fixes #346
2007-06-15 10:33:15 +00:00
zYne
2685cf2315
fixes #347
2007-06-15 10:26:45 +00:00
zYne
d72c9a23cd
fixes #345
2007-06-14 21:50:12 +00:00
zYne
a4e434081a
2007-06-14 21:22:28 +00:00
zYne
4dede8c6d1
added exportClasses()
2007-06-14 20:49:11 +00:00
zYne
956b4bb0ca
added exportSql()
2007-06-14 20:44:40 +00:00
zYne
82b9d0739c
foreign key support
2007-06-14 20:43:04 +00:00
zYne
62f72a7014
2007-06-14 20:37:11 +00:00
zYne
0bf5bf839c
2007-06-14 20:29:33 +00:00
zYne
c8ac51e864
little bug fixes
2007-06-14 20:18:25 +00:00
zYne
3e57286584
doc block fix
2007-06-14 18:17:07 +00:00
zYne
d6095a2420
added IntegrityMapper for future emulation purposes
2007-06-14 18:15:33 +00:00
zYne
72466b364e
2007-06-14 16:01:15 +00:00
zYne
2d088df162
fixed E_STRICT issue
2007-06-14 15:01:58 +00:00
zYne
13c3f788b2
2007-06-14 14:02:40 +00:00
meus
71fb15833d
Fixed some spelling errors in xml export
2007-06-14 12:23:02 +00:00
meus
be2f05d8f8
Since SimpleXML only output UTF, we say that the XML is UTF-8.
2007-06-14 12:05:46 +00:00
pookey
a53d19a49f
* Commenting out a line in export, I've no idea what it's meant to do, but it breaks things.
...
* ZYNE! you need to look at this ;)
2007-06-14 11:09:53 +00:00
zYne
d1a1697a5f
E_STRICT fixes
2007-06-13 22:31:15 +00:00
zYne
f8134df165
2007-06-13 22:18:34 +00:00
zYne
abfd89192e
fixed a bug in import template
2007-06-13 22:16:50 +00:00
zYne
0aa1056c35
2007-06-13 22:13:19 +00:00
zYne
dc2e1d31cb
2007-06-13 22:10:21 +00:00
zYne
6b5bfea300
2007-06-13 22:08:15 +00:00
zYne
c45c3e8331
2007-06-13 22:03:30 +00:00
zYne
03e62f95f0
ported stuff from MDB2
2007-06-13 21:58:22 +00:00
zYne
27ae95af91
dropDatabase() added
2007-06-13 21:41:20 +00:00
zYne
1a14aa301d
MDB2 porting continues
2007-06-13 21:37:33 +00:00
zYne
d9678357aa
ported getTemporaryTableQuery from MDB2
2007-06-13 21:34:00 +00:00
zYne
ca6a13878a
2007-06-13 21:29:18 +00:00
zYne
deef2137bb
ported sequence methods from MDB2
2007-06-13 21:28:49 +00:00
zYne
8d8b66eb1d
porting features from MDB2
2007-06-13 21:21:13 +00:00
zYne
365bdc23d0
enhanced mysql driver foreign key support
2007-06-13 21:11:36 +00:00
zYne
e1fb5e5345
removed iterator references (those will be added when the implementation is ready)
2007-06-13 20:22:46 +00:00
mahono
d1085b0056
added Doctrine_Record->isModified()
2007-06-13 12:31:03 +00:00
zYne
34a54f52f8
2007-06-13 11:02:30 +00:00
zYne
0c857398f1
2007-06-12 20:39:27 +00:00
pookey
f69ba1bf5c
* fixing boolean values, casting them to bool when reading from the database
2007-06-12 20:31:20 +00:00
zYne
bbc35e3ff4
E_STRICT fix
2007-06-12 19:46:33 +00:00
zYne
ffdf6637e4
private -> protected
2007-06-12 19:45:28 +00:00
zYne
8007b32ca0
drafting Doctrine_Db functionality into connection class
2007-06-12 19:39:03 +00:00
zYne
e4db5eb3a4
made compiler dynamic
2007-06-12 19:05:56 +00:00
zYne
c417a3b3a6
boolean value handling fix
2007-06-12 16:52:35 +00:00
zYne
1cfe7fc65a
2007-06-12 16:18:43 +00:00
zYne
8ee01ce3b2
2007-06-11 23:37:24 +00:00
zYne
8eef3f44c4
updated doc blocks, added savepoint as optional transaction parameter
2007-06-11 23:25:46 +00:00
zYne
595071f767
added full support for join table self-referencing
2007-06-11 19:27:16 +00:00
zYne
670a961a3b
2007-06-11 15:40:31 +00:00
zYne
43af7b69f2
2007-06-11 15:33:59 +00:00
zYne
216cdde6a9
2007-06-10 19:43:52 +00:00
zYne
a361fdaf1a
2007-06-10 19:39:50 +00:00
zYne
44c2399cdf
added Mock driver
2007-06-10 19:38:22 +00:00
zYne
d275bed4e7
fixed sequence handling
2007-06-10 19:28:47 +00:00
zYne
1238a5000a
fixed some more E_STRICT issues
2007-06-10 19:20:40 +00:00
zYne
6ea281f1d9
fixed E_STRICT issues
2007-06-10 19:17:26 +00:00
zYne
6d8003c32e
made Firebird adhere to strict standards
2007-06-10 19:12:01 +00:00
zYne
b70f6cd7ac
2007-06-10 19:09:36 +00:00
zYne
ca775fdc99
fixed many-to-many column guessing
2007-06-09 21:54:08 +00:00
zYne
115cadb081
complete support for DISTINCT keyword
2007-06-08 20:17:17 +00:00
zYne
a358559882
2007-06-08 19:29:01 +00:00
zYne
7fc8eebf10
2007-06-08 19:27:38 +00:00
zYne
a64e675871
2007-06-08 19:07:32 +00:00
zYne
f2895955e8
2007-06-07 20:46:08 +00:00
runa
7a00232c7a
fixes bug with extended-non-Doctrine_Record tables and makes the relationship parser to fallback to the old method to find keys if it cannot be guessed
2007-06-07 19:20:24 +00:00
romanb
42170dd406
Fixed #328
...
Ticket: 328
2007-06-07 19:17:56 +00:00
zYne
bc717ac900
2007-06-07 18:31:11 +00:00
zYne
cc998bf165
2007-06-07 18:21:07 +00:00
zYne
7bacdf0721
2007-06-07 17:58:41 +00:00
zYne
a00c6061ab
One-to-one relation fetching fixed
2007-06-07 17:04:56 +00:00
zYne
7bb0a29819
2007-06-07 16:26:01 +00:00
zYne
22a2494569
2007-06-06 00:12:44 +00:00
zYne
86c5a659ed
2007-06-06 00:02:50 +00:00
zYne
6ef0cc9993
2007-06-05 23:58:11 +00:00
zYne
c697f09f32
2007-06-05 23:35:11 +00:00
zYne
3230021f7f
Proper false statement handling
2007-06-05 23:19:12 +00:00
zYne
b41714eec5
2007-06-05 23:15:15 +00:00
zYne
2a99edae06
2007-06-05 22:37:38 +00:00
zYne
e42bb0e506
2007-06-05 21:02:21 +00:00
zYne
84eaea70d1
2007-06-05 21:00:39 +00:00
zYne
5bb1dbb893
2007-06-05 20:55:54 +00:00
zYne
1e2b0bf67b
2007-06-05 19:23:01 +00:00
zYne
c8d36a399a
Removed deprecated AccessorInvoker
2007-06-05 19:14:43 +00:00
zYne
dcc3bd8c7d
2007-06-05 18:38:00 +00:00
zYne
33fecefdb6
2007-06-05 17:56:04 +00:00
zYne
cc56542d11
2007-06-04 22:55:47 +00:00
zYne
a0a9df9b71
2007-06-04 22:45:03 +00:00
zYne
4d0310bfd5
2007-06-04 22:38:39 +00:00
zYne
63bca659f8
huge bug fix for new hydration algorithm
2007-06-04 22:37:27 +00:00
runa
a41cd2bb01
support for unique columns in multikey tables
2007-06-04 18:47:26 +00:00
romanb
d7d1bdd97a
Bugfix for parseData2(). Unrelated to the issues mentioned in my previous commit.
2007-06-02 20:33:41 +00:00
zYne
2662b46e9a
DQL aggregate value model rewrite
2007-06-01 10:17:50 +00:00
zYne
62e1e7d6b9
2007-05-31 22:00:59 +00:00
zYne
a5ab96546e
2007-05-31 21:06:11 +00:00
zYne
bf3b4d6e75
2007-05-31 20:13:04 +00:00
zYne
bc1d7e0cd4
2007-05-31 20:11:58 +00:00
zYne
e3cc035103
2007-05-31 18:47:08 +00:00
zYne
e7732ee975
DQL limit-subquery-algorithm ORDER BY handling fixed
2007-05-31 18:30:47 +00:00
zYne
d4c12c357d
new DQL Hydration algorithm !
2007-05-31 17:45:07 +00:00
zYne
12a9f30a76
2007-05-30 10:38:32 +00:00
zYne
ecbecaa67b
new attribute Doctrine::ATTR_LOAD_REFERENCES
2007-05-30 10:20:21 +00:00
zYne
b8559e37ec
2007-05-30 10:19:52 +00:00
zYne
58ec853b36
2007-05-29 19:20:39 +00:00
zYne
b969552cc2
2007-05-29 18:59:14 +00:00
zYne
cc01ca4686
2007-05-29 18:55:46 +00:00
zYne
e448bcb889
2007-05-29 17:36:15 +00:00
zYne
e77b65bbcf
first (ugly) draft for array population algorithm
2007-05-28 19:03:57 +00:00
zYne
b774c98777
2007-05-28 15:13:11 +00:00
romanb
2f0178d273
Two bugfixes.
2007-05-28 09:54:29 +00:00
romanb
502103d7a4
Performance improvements and a small fix.
2007-05-27 20:00:53 +00:00
zYne
560079825e
2007-05-27 19:05:33 +00:00
zYne
fa11260e75
2007-05-27 18:56:04 +00:00
zYne
2973b274e4
2007-05-27 18:52:33 +00:00
zYne
0b819a2919
2007-05-27 18:50:56 +00:00
zYne
6673186970
dql resultSet cache, first draft
2007-05-27 11:38:16 +00:00
zYne
520178509d
2007-05-26 19:50:40 +00:00
zYne
adc870d2e5
old relation adapter layer now supports tree relations
2007-05-26 17:04:41 +00:00
zYne
49574ce956
2007-05-26 16:49:58 +00:00
zYne
adc6c1b22a
new connection module: Formatter
2007-05-25 09:45:41 +00:00
zYne
1e5c0d674c
fixes #333
2007-05-24 22:08:54 +00:00
zYne
b1a7875618
2007-05-24 19:47:28 +00:00
zYne
bf263fe1b3
2007-05-24 19:29:27 +00:00
zYne
54fcf19fdc
2007-05-24 18:35:52 +00:00
zYne
6b86c9fa47
2007-05-24 18:30:18 +00:00
zYne
b4bcc51c12
2007-05-24 18:21:26 +00:00
zYne
b6dcef0eee
2007-05-24 18:00:35 +00:00
zYne
2ce1c5f483
2007-05-24 17:49:15 +00:00
zYne
755f30f642
2007-05-24 17:46:32 +00:00
zYne
df773520d6
2007-05-24 17:40:54 +00:00
zYne
7e953aa240
subquery aliases now mapped to aliasMap
2007-05-24 17:22:43 +00:00
zYne
074a434ae2
2007-05-24 17:13:59 +00:00
zYne
4b7a4a0e97
2007-05-24 16:54:42 +00:00
zYne
525e7d74a1
2007-05-24 16:53:51 +00:00
zYne
2d9c165fad
parser caching functionality added
2007-05-24 16:13:50 +00:00
zYne
324188a6f4
added cache constants
2007-05-24 16:13:36 +00:00
zYne
199d818f38
2007-05-24 14:36:10 +00:00
runa
569ad7cfa0
fixed typo
2007-05-24 14:27:10 +00:00
zYne
e03ef62527
2007-05-24 14:19:44 +00:00
zYne
3d4bcd4099
2007-05-24 13:58:36 +00:00
zYne
28af01fd8b
2007-05-24 13:52:30 +00:00
zYne
60136a4b0a
2007-05-24 13:29:18 +00:00
zYne
775e861f1e
2007-05-24 13:01:58 +00:00
zYne
e3e001efbc
2007-05-23 21:49:27 +00:00
zYne
e922ae7689
2007-05-23 21:13:13 +00:00
zYne
8c54e8d736
fixed delete state handling
2007-05-23 20:41:03 +00:00
zYne
01d8e55bd0
fixed reference setting
2007-05-23 20:33:47 +00:00
zYne
796c53fc87
remove getter / setter invocation from the core, getter / setter generation will soon be part of Import
2007-05-23 20:26:21 +00:00
romanb
c57cf249c6
Important security fix for the e-mail validator. The D modifier was missing in the pattern.
2007-05-23 09:55:32 +00:00
zYne
f2484d1726
2007-05-22 21:05:52 +00:00
zYne
7d10dbe190
transaction deletes no longer unset record identifiers
2007-05-22 20:56:59 +00:00
zYne
58bfed2bec
2007-05-22 20:52:19 +00:00
zYne
7e003d3aa1
transactions now register collections for snapshots
2007-05-22 20:47:27 +00:00
zYne
124fbff038
2007-05-22 20:11:56 +00:00
zYne
f6bb8c9726
2007-05-22 18:09:54 +00:00
zYne
99037abdad
2007-05-22 17:42:47 +00:00
zYne
146b215d06
2007-05-22 16:58:34 +00:00
zYne
71338c3d09
drafting the new relation model, still a lot of work
2007-05-22 15:57:17 +00:00
zYne
b3b1f617fe
2007-05-21 21:52:14 +00:00
zYne
4a379951e6
2007-05-21 21:15:57 +00:00
zYne
2e6d8a9854
2007-05-21 21:06:17 +00:00
zYne
a7d1d643f0
updated doc blocks
2007-05-21 20:36:07 +00:00
zYne
abcc423fbf
new relation parser now supports many-to-many relations
2007-05-21 20:27:56 +00:00
zYne
4f57aac33e
2007-05-21 20:21:49 +00:00
zYne
ec28b0b92a
2007-05-21 20:06:23 +00:00
zYne
e0eafb56d7
2007-05-21 20:06:18 +00:00
lsmith
6cb07b57e6
- fixed handling of non select queries
...
- moved code from _fetch() back into execute() as a result (maybe move the code after parseData() into a private function in order to keep the method size manageable
2007-05-21 19:15:29 +00:00
zYne
5227d51e7e
2007-05-21 17:35:20 +00:00
zYne
9e016069d5
2007-05-21 16:29:07 +00:00
zYne
2f10b04e72
2007-05-21 16:15:20 +00:00
zYne
5b22e5431f
2007-05-21 16:02:30 +00:00
zYne
df18483028
2007-05-20 21:51:10 +00:00
zYne
8bd1c75b4a
added Db2 exception
2007-05-20 21:47:55 +00:00
zYne
598cdb5e01
added adapter exception class
2007-05-20 21:46:46 +00:00
zYne
56e3a39f83
added Db2 adapter
2007-05-20 21:46:10 +00:00
zYne
4aa70a18b0
2007-05-20 21:35:49 +00:00
zYne
999c72bbb6
2007-05-20 21:30:08 +00:00
zYne
0b9ea73aaf
2007-05-20 21:18:52 +00:00
zYne
919da9e6c6
2007-05-20 20:49:42 +00:00
zYne
ff73391637
2007-05-20 20:35:21 +00:00
zYne
7c2dc1a978
2007-05-20 19:28:21 +00:00
zYne
de3242227b
2007-05-20 18:40:53 +00:00
zYne
45f4ec2443
2007-05-20 18:33:29 +00:00
zYne
0f921a8c4d
2007-05-20 17:54:22 +00:00
zYne
10312db4eb
fixed boolean conversion
2007-05-19 22:40:46 +00:00
zYne
71c52205ad
fixed boolean conversion
2007-05-19 22:40:09 +00:00
zYne
b60f68d58e
2007-05-19 22:17:59 +00:00
zYne
a39c35c83b
2007-05-19 19:54:15 +00:00
zYne
531f4a4dea
2007-05-19 18:29:29 +00:00
zYne
5d4b8c45e6
Unified abstract class for RawSql and Query components
2007-05-19 18:06:42 +00:00
zYne
1508803443
2007-05-19 17:49:16 +00:00
zYne
4e888855d1
2007-05-19 17:29:43 +00:00
zYne
c9d9bf1905
2007-05-19 17:05:25 +00:00
zYne
bbe6f1c2ea
2007-05-18 09:35:00 +00:00
zYne
9d8cb481a7
2007-05-18 09:33:51 +00:00
zYne
4b09d95d0f
2007-05-18 09:30:29 +00:00
zYne
9b470a642b
2007-05-18 09:26:38 +00:00
zYne
22753f1931
2007-05-18 09:22:31 +00:00
zYne
62e7ba76db
2007-05-18 09:22:06 +00:00
zYne
68088c16c5
Enum support for placeholders!
2007-05-17 23:13:58 +00:00
zYne
b6b91ac0ee
2007-05-17 21:48:12 +00:00
Jonathan.Wage
a1ef5fbf4b
Fixed issue with isValidNode() and it not accepting an argument when it should allow it.
2007-05-17 19:52:50 +00:00
zYne
6f466c3f9c
2007-05-16 22:51:28 +00:00
zYne
882318613b
2007-05-16 22:45:39 +00:00
zYne
f44784d908
made all manager variables protected and adhere to Zend naming conventions
2007-05-16 22:45:13 +00:00
zYne
5d3660f285
2007-05-16 22:34:38 +00:00
zYne
1b3e981737
2007-05-16 22:28:32 +00:00
zYne
33bb25ac20
2007-05-16 22:22:54 +00:00
zYne
936d442cc0
2007-05-16 21:51:23 +00:00
zYne
2291272ebf
2007-05-16 21:47:23 +00:00
zYne
827755afd3
2007-05-16 21:28:33 +00:00
zYne
82ba74e2e8
2007-05-16 20:27:03 +00:00
zYne
330bf1d408
2007-05-16 19:52:06 +00:00
zYne
f26217c87a
DQL core refactored
2007-05-16 19:20:55 +00:00
zYne
389d137312
2007-05-15 22:37:04 +00:00
zYne
db08423507
2007-05-15 15:33:18 +00:00
zYne
f44cad9c4e
2007-05-15 10:18:34 +00:00
zYne
a430d22cf4
2007-05-15 10:07:05 +00:00
zYne
60276421e7
2007-05-14 23:04:32 +00:00
zYne
86fa70d6d1
2007-05-14 17:56:47 +00:00
meus
00bf8c9522
Fatal error: Cannot make non static method Doctrine_Exception::errorMessage() static in class Doctrine_Connection_Exception
2007-05-14 13:00:14 +00:00
zYne
5b2c3a4ead
2007-05-12 23:27:16 +00:00
zYne
a51e7742fa
added Doctrine_Record_Filter
2007-05-12 22:42:16 +00:00
zYne
6a2012b4cf
made dump accept second parameter as native function var_dump
2007-05-11 21:33:23 +00:00
lsmith
ad0f389870
- added ability to set scale at runtime
2007-05-11 19:20:38 +00:00
lsmith
fd0c11073c
- remove debug code
2007-05-11 19:15:18 +00:00
lsmith
efc7baa19b
- use ATTR_DECIMAL_PLACES when defining a decimal field
2007-05-11 19:13:20 +00:00
zYne
4d1722fba4
added ATTR_DECIMAL_PLACES
2007-05-11 19:08:16 +00:00
zYne
29a6d2ef7f
added new methods
2007-05-11 19:07:06 +00:00
zYne
e3b3439415
2007-05-10 23:46:09 +00:00
zYne
7c78d89217
2007-05-10 23:45:26 +00:00
zYne
f99e3dd476
added Doctrine_Hydrate_Exception
2007-05-10 21:31:09 +00:00
romanb
4b5731baf5
Make Doctrine_Node_NestedSet::delete() work correctly with multiple roots.
2007-05-08 19:35:31 +00:00
subzero2000
86fe74d58e
Added support for gzip and enum types that was missing so when
...
Doctrine_Record::unserialize() calls Doctrine_Record::cleanData(),
the data for gzip and enum types is correct. Fixes #322 .
Also, minor formatting cleanup in Doctrine_Record::serialize().
2007-05-07 22:46:47 +00:00
subzero2000
b68a791bf7
Added back proper type-casting of integer and boolean types that was added in r419 and removed in r422. Fixes #321 .
2007-05-07 22:39:25 +00:00
romanb
f0236dc9a1
More additions to the NestedSet implementation: Added $node->makeRoot() which can be used when using many roots to detach a node from a tree and make it a root node itself.
2007-05-07 18:29:52 +00:00
romanb
e90e62c9f7
Small fix: createRoot() only generates a root id if it doesnt already have a valid value
2007-05-07 16:05:14 +00:00
romanb
a1ee3f97e7
Added support for transparently moving nodes between different trees when using many roots (EXPERIMENTAL!)
2007-05-07 15:49:23 +00:00
zYne
0a58490a1f
2007-05-01 19:26:03 +00:00
zYne
3b48b7911c
2007-04-26 18:06:16 +00:00
zYne
e81891e310
2007-04-26 17:42:03 +00:00
runa
9460ff9e2c
use the connections array for key()
2007-04-24 17:33:10 +00:00
zYne
471a0a0005
2007-04-24 16:59:07 +00:00
zYne
92a6699e9a
2007-04-24 10:15:17 +00:00
romanb
bc24aafd87
Closed #313
...
Ticket: 313
2007-04-23 10:43:09 +00:00
zYne
e990c9e4f8
2007-04-22 11:06:19 +00:00
zYne
c39c751889
2007-04-22 10:54:01 +00:00
zYne
18944f39c6
2007-04-21 22:36:46 +00:00
zYne
f4d160e0d8
2007-04-20 23:58:28 +00:00
zYne
d81a843e73
boolean type fix
2007-04-20 18:18:44 +00:00
monolit
40b7b14fb7
explode queries by any whitespaces, not only spaces
2007-04-20 13:06:22 +00:00
meus
5990090652
Added getCollectionAsXml and cleaned up the getRecordAsXml function. It
...
should return primary_keys correctly now.
2007-04-20 12:42:53 +00:00
monolit
623228b4a9
avoid endless loops with __call in Doctrine_Query when calling non-existent overload method
...
(join, parsejoin, parseparsejoin, ...)
2007-04-20 10:11:49 +00:00
meus
d9b13a5c3a
Added getRecordAsXml that returns an record as XML.
...
In order for this to work specify the xml option in a record.
The xml option is an array that has 2 keys.
ignore_fields is an array of fields that are not displayed in the xml
include_relations(optional) is an array of relations that should be included in
the xml.
2007-04-19 20:24:08 +00:00
monolit
c3439aeebb
Ticket #312
...
Duplicated params in sql when using LIMIT or OFFSET and MYSQL - due to Doctrine_Query::getQuery()
2007-04-19 14:36:29 +00:00
gyim
44101abceb
FIX: Doctrine_Query::count() prevented execute() calls on the same query object
2007-04-19 14:16:04 +00:00
zYne
f6af2616c0
2007-04-18 11:14:38 +00:00
zYne
b71ac561c3
enhanced error handling
2007-04-18 11:11:07 +00:00
zYne
26a723e81d
fixed identifier quoting for update()
2007-04-18 09:49:54 +00:00
zYne
9862f45fc3
another identifier quoting fix
2007-04-18 09:48:23 +00:00
zYne
c5eb26c3ba
identifier quoting fix
2007-04-18 09:47:02 +00:00
zYne
707f801509
2007-04-18 08:59:10 +00:00
zYne
68de3e8244
oci8 alias fix
2007-04-17 22:16:11 +00:00
zYne
b1c307c40a
2007-04-17 22:03:11 +00:00
zYne
9e35c9029b
2007-04-17 17:41:51 +00:00
zYne
10f96e01e3
fixes #309
2007-04-17 17:36:55 +00:00
zYne
7a9a86a5c6
fixes #310
2007-04-17 17:25:08 +00:00
zYne
b81f399c12
2007-04-16 18:08:11 +00:00
zYne
60a59015e6
added new portability option
2007-04-16 18:00:03 +00:00
zYne
647542d5ee
2007-04-16 17:59:45 +00:00
pookey
ff1886754d
fixed #307
2007-04-16 14:43:12 +00:00
pookey
7b2a2ac84c
refs #307 comment 3
2007-04-16 13:49:14 +00:00
zYne
eaea971fe4
fixes #307
2007-04-14 16:28:09 +00:00
zYne
3ffe5d0f9d
2007-04-13 18:06:48 +00:00
romanb
0d2e83ff8a
made Doctrine_Query ignore empty orderby parameters
2007-04-13 18:03:44 +00:00
zYne
d1b9daa2b1
made Doctrine_Query ignore empty orderby parameters
2007-04-13 17:53:16 +00:00
runa
cd8452aa8b
added copydeep function
2007-04-12 18:32:07 +00:00
romanb
635bc1fa66
Improved the previous fix for the unique validator.
2007-04-12 13:37:45 +00:00
romanb
18766e6579
Fixed an issue with the unique validator.
2007-04-12 08:38:59 +00:00
meus
93c386f612
Fixed double quotes to single quotes
2007-04-11 19:12:38 +00:00
meus
be9d359937
Fixed indentation and other issues related to coding style
2007-04-11 19:06:13 +00:00
zYne
34cce3e0c8
2007-04-11 18:56:44 +00:00
zYne
907156fd02
2007-04-11 18:44:23 +00:00
zYne
b373cb8ef7
fixes #303
2007-04-11 18:37:05 +00:00
zYne
28e937b981
fixes #298
2007-04-11 18:35:15 +00:00
zYne
dcab3087f7
fixes #297
2007-04-11 18:29:27 +00:00
runa
01c93d3e02
bulkdelete delete multikey rows
2007-04-10 17:31:22 +00:00
meus
f402f879b2
Added support for fetching a subclass when querying the baseclass if the
...
inheritance mapping is met. Added tests for this and included tests. Wrote
documentation.
2007-04-08 14:55:14 +00:00
zYne
1af2164b19
fixes #296
2007-04-03 21:28:06 +00:00
zYne
b47381df1c
2007-04-03 21:19:24 +00:00
zYne
4676d8f4bb
2007-04-03 18:08:50 +00:00
zYne
37bb2d3a7a
2007-04-03 17:41:02 +00:00
zYne
47daaa9cfa
Algorithm for creating the tables in correct order
2007-04-03 17:36:46 +00:00
zYne
b1a3eed4e9
2007-04-02 16:54:46 +00:00
zYne
4f505c6b16
2007-04-02 16:50:35 +00:00
zYne
732bc89a89
fixes #300
2007-03-31 19:49:23 +00:00
zYne
b117b468dd
fixed mysql foreign key issue
2007-03-27 23:00:07 +00:00
zYne
0770450d5b
fixed autoinc field handling for unsigned attribute
2007-03-27 19:38:34 +00:00
zYne
1104ae7017
primary keys now unsigned by default, primary keys no longer used as foreign keys
2007-03-26 20:58:26 +00:00
zYne
4865602ee7
2007-03-26 20:52:34 +00:00
zYne
73942e7ec7
Check constraint parser added
2007-03-23 20:25:56 +00:00
zYne
cd78c4f600
2007-03-23 16:45:24 +00:00
zYne
ef7f3c2bf1
fixes #293
2007-03-23 16:31:35 +00:00
zYne
3c3408a99a
2007-03-23 16:29:58 +00:00
zYne
759c23f490
first draft for sqlite cascading delete emulation with triggers
2007-03-22 13:32:43 +00:00
zYne
306dd80312
sqlite foreign key support
2007-03-22 12:47:37 +00:00
zYne
8428338c21
2007-03-21 23:09:39 +00:00
zYne
f7a7472cae
Foreign key exporting added
2007-03-21 22:11:18 +00:00
gnat
1fbb8b6c08
unitialized or typo variables
2007-03-20 23:22:51 +00:00
gnat
04d0993a35
fixed two typos/non-existent variables.
2007-03-20 23:15:51 +00:00
zYne
e592d77f14
2007-03-18 20:00:45 +00:00
zYne
8bb4d38ee0
2007-03-18 18:38:49 +00:00
zYne
0040261fb8
fixes #290
2007-03-18 18:38:00 +00:00
zYne
24abb16c75
2007-03-16 22:17:32 +00:00
zYne
a9817a03d5
new methods: addSelect() and addHaving()
2007-03-16 22:05:36 +00:00