1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

169 Commits

Author SHA1 Message Date
Jonathan.Wage
6ee5df4aab Addex support for indexes and attributes to schema. 2007-10-16 23:33:14 +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
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
Jonathan.Wage
029761d78d Reversing change. 2007-10-09 17:38:11 +00:00
Jonathan.Wage
fe34a0d29f Fix to fixtures importing and relationships satisfying. 2007-10-08 23:55:25 +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
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
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
Jonathan.Wage
5bec1b2224 Fix for class/alias relation generation. 2007-10-05 19:10:32 +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
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
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +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
3438aef503 Refactoring of Resource module. 2007-09-24 04:58:57 +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
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
Jonathan.Wage
ad55d16395 Fixes for schema importing. 2007-09-20 22:19:22 +00:00
Jonathan.Wage
1e1090700c Fixes to make schema importing work. 2007-09-20 19:18:05 +00:00
Jonathan.Wage
04f1a135cf Updated to auto complete other end of relationships. 2007-09-19 21:08:23 +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
Jonathan.Wage
a170822788 Fixes for yml importing/exporting of schema. 2007-09-14 19:14:40 +00:00
Jonathan.Wage
c9658cb29b Getting exporting/importing working. 2007-09-13 21:32:40 +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
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
Jonathan.Wage
99ae59fd41 Changed import/export methods to importSchema() and exportSchema() 2007-08-16 22:42:35 +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
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
8ee4d75b69 2007-07-26 19:52:12 +00:00
zYne
c26ed8441b 2007-07-23 20:28:46 +00:00
zYne
d434174a96 added Search component, new record event listeners and some tests 2007-07-11 14:39:15 +00:00
nicobn
befc0c16b0 Builder was broken. Applied patch sent by Carl Michael Skog. 2007-07-10 15:20:13 +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
nicobn
2acd30624d Added a new method to give more options to the user. 2007-06-27 02:44:20 +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
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
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
nicobn
613fdf0952 Added the XML schema import facilities. 2007-06-22 17:48:27 +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
ad3f5bb6ff 2007-06-19 19:51:25 +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
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
b70f6cd7ac 2007-06-10 19:09:36 +00:00
zYne
fa11260e75 2007-05-27 18:56:04 +00:00
zYne
28e937b981 fixes #298 2007-04-11 18:35:15 +00:00
zYne
4865602ee7 2007-03-26 20:52:34 +00:00
zYne
e68b193c0a ported listTableViews and listViews from MDB2 cvs 2007-03-07 09:59:44 +00:00
zYne
fecce947ed fixed the handling of hooked parameters 2007-03-02 18:47:46 +00:00
zYne
9b525f348b updated the DQL DELETE handling 2007-03-01 21:32:08 +00:00
zYne
82dbb99386 updated oracle import driver 2007-02-17 18:40:22 +00:00
zYne
7fdb9509f0 2007-02-17 18:35:24 +00:00
zYne
81a21344bd 2007-02-10 21:51:53 +00:00
zYne
e9d7274fc2 updated import builder 2007-02-10 11:02:52 +00:00
zYne
8703d6e913 2007-02-10 11:02:29 +00:00
zYne
c25911712b 2007-02-10 11:01:04 +00:00
zYne
54239c7f10 better listColumns handling 2007-02-10 10:59:55 +00:00
zYne
9471145115 better listColumns handling 2007-02-10 10:59:34 +00:00
gnat
511a961d53 Fixed variable name typos 2007-01-27 00:07:59 +00:00
zYne
3e4f3625e5 removed futile exception classes 2007-01-25 22:38:15 +00:00
zYne
b6575631b3 added tests for mssql import driver 2007-01-25 22:27:20 +00:00
zYne
b7ab722920 2007-01-24 22:50:49 +00:00
zYne
7e1c763d5a fixed pgsql import driver 2007-01-24 22:12:34 +00:00
zYne
4ff559cec4 Refactored import drivers 2007-01-15 22:44:24 +00:00
zYne
7e8310cebc refactored oracle import driver 2007-01-15 22:21:27 +00:00
zYne
45fdb318de fixed little bugs in firebird import driver 2007-01-15 21:54:27 +00:00
zYne
b3e59ab76d Fixed sqlite import driver 2007-01-14 22:44:01 +00:00
zYne
2169ac807a 2007-01-11 00:42:24 +00:00
lsmith
67514f4c6a - s/\$db/\$this->conn
- turned raiseError() calls into throw Exception
- MDB2 style query*() conversion to Doctrine style fetch*()
2007-01-05 22:06:52 +00:00
zYne
953355c2ba added import driver exception classes 2006-12-30 11:13:24 +00:00