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

1853 Commits

Author SHA1 Message Date
jwage
767172a60d fixes #721 2008-01-22 23:10:21 +00:00
jwage
d47f4ddab4 Changed all references to http://www.phpdoctrine.com/net to http://www.phpdoctrine.org 2008-01-22 22:52:53 +00:00
jwage
24e264ac99 Fixed compiler task and made Compiler return the path compiled file was written to. 2008-01-22 22:08:08 +00:00
jwage
d5c91081e0 - 2008-01-22 21:58:03 +00:00
jwage
689a4c6f45 Connection refactoring to allow create/drop database functionality for sqlite. fixes #480 2008-01-22 21:42:17 +00:00
jwage
733eecbbc9 Added contains() method which was introduced in the 0.9 branch. 2008-01-22 17:00:48 +00:00
dbrewer
4b95d0504c Merged r3550 from 0.9 branch to trunk. 2008-01-19 02:35:39 +00:00
guilhermeblanco
ef4798921b Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in all branches. If no selected template is defined, the default assigned template is used. This prevent possible issue where the user defines default but not selected template (will use the defined one in class, what is wrong) 2008-01-17 20:17:44 +00:00
pookey
85846c39bd setting default templatse for the payer layout 2008-01-17 16:00:52 +00:00
guilhermeblanco
99d026b894 Fixed _adjustOffset in order to get it working after previous change in Pager 2008-01-17 15:33:08 +00:00
guilhermeblanco
78edfd59a6 Fixed wrong call to _setExecuted in Pager 2008-01-17 15:01:07 +00:00
guilhermeblanco
e5f2aa5208 Added different counter query support for Doctrine_Pager. Now it can use 2 different queries to paginate items. Added 4 new methods: setCountQuery, getCountQuery, setCountQueryParams and getCountQueryParams. If not defined a counter Doctrine_Query, the collector one is used. If no params were defined to be used in counter query, the ones passed by execute method are used 2008-01-17 14:37:11 +00:00
guilhermeblanco
af32f80176 Added a fix in toArray method to prevent mapped Doctrine_Record values to be displayed fully 2008-01-17 13:26:31 +00:00
pookey
dca3c3b701 making a comment a little clearer 2008-01-16 23:42:54 +00:00
guilhermeblanco
b68eba074b Fixed count bug in Doctrine_Pager that was wrong counting the total of results found. Added 3 new methods: Doctrine_Pager::getExecuted (checks if the Pager was already executed), Doctrine_Pager_Layout::execute (handy access to execute Pager query without having to access Doctrine_Pager instance) and Doctrine_Pager_Layout::processPage (processes the template of a given page and returns the parsed string) 2008-01-16 20:51:36 +00:00
zYne
f07ab595ac 2008-01-16 14:29:11 +00:00
romanb
71d1150e3f Second merge from experimental branch to trunk. 2008-01-12 19:49:11 +00:00
wernerm
e01809d19a Fixed returned range bug(s) 2008-01-11 14:50:34 +00:00
romanb
62860d5191 fixed joincondition tests. 2008-01-11 13:53:30 +00:00
zYne
a6e84aeed1 2008-01-10 21:39:05 +00:00
lsmith
e0dcd111fe - implemented listTriggers and listTableTriggers() 2008-01-10 16:13:56 +00:00
lsmith
fa5ab7d2b1 - moved getIntegerDeclaration to export since we already have getDeclaration in there 2008-01-10 15:49:25 +00:00
lsmith
b1df27b1ac - use sql standard concat syntax instead of registering concat() mysql hack 2008-01-10 15:09:30 +00:00
lsmith
658f73f045 - use same implementation as MySQL 2008-01-10 15:02:24 +00:00
lsmith
82f0e5f92c - do not force a DEFAULT NULL on LOB fields 2008-01-10 13:19:17 +00:00
lsmith
6f5cf40352 - default to sql standard concat syntax instead of mysql's non standard variant 2008-01-10 12:23:55 +00:00
lsmith
442fb47768 - unified getDefaultFieldDeclaration(), force DEFAULT NULL when no default is set and the field allows nulls 2008-01-10 09:45:01 +00:00
lsmith
53c044fc4d - ported concat() from MDB2 2008-01-10 08:49:13 +00:00
lsmith
f53a239334 - ported listTableForeignKeys() from MDB2 2008-01-10 08:48:15 +00:00
lsmith
ba8aae6005 - ensure that nextId() always relies in autoincrement id generation to ensure that last insert id works reliably 2008-01-10 08:47:00 +00:00
lsmith
16ef556f62 - added support for temporary tables, tweaked createSequence and enum support in getDefaultFieldDeclaration() 2008-01-10 08:44:57 +00:00
lsmith
406c57b53b - cosmetic fixes 2008-01-10 08:29:20 +00:00
zYne
500783aa31 fixes #718 2008-01-08 21:22:37 +00:00
pookey
648f068535 reverting previous change which references and closes #712 2008-01-07 14:17:29 +00:00
pookey
89cb0ecaad refs #712 2008-01-07 13:48:08 +00:00
romanb
bd2e0d8ec5 Reapplied changes to Doctrine.php made by jonwage. 2008-01-06 09:47:00 +00:00
romanb
d9112ad1d7 Merged current state of my experimental branch back to trunk. 2008-01-05 19:55:56 +00:00
romanb
344ab02d95 reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier. 2008-01-05 19:14:35 +00:00
Jonathan.Wage
60c921762d A few more fixes for autoloading and locating paths to Doctrine components. 2008-01-05 07:53:24 +00:00
Jonathan.Wage
44820ec14a Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure. 2008-01-05 07:39:25 +00:00
zYne
33223b5b6c getDatabaseName() 2008-01-04 23:37:25 +00:00
Jonathan.Wage
02a57e4ceb Removed $aggressive param as it is not needed and was left there by mistake. 2008-01-03 20:14:50 +00:00
adamthehutt
0b78afa97d Make Doctrine_Collection objects use Doctrine::ATTR_COLL_KEY for data array keys 2007-12-30 20:43:31 +00:00
hartym
716bcedd76 Problem on Sluggable Listener default values merging 2007-12-30 18:44:00 +00:00
romanb
b994c1a6f9 Fixed #697. 2007-12-28 11:51:48 +00:00
guilhermeblanco
260b9ae291 Added support to params in join methods of Doctrine_Query 2007-12-26 20:52:37 +00:00
guilhermeblanco
82379e6dc3 added prevention to override page_number mask 2007-12-22 19:04:18 +00:00
Jonathan.Wage
44929d5391 Added note about deprecating methods. 2007-12-20 04:08:25 +00:00
Jonathan.Wage
b438827d90 Fixed spelling error. 2007-12-20 03:09:57 +00:00
Jonathan.Wage
7b321a215d Formatting fixes. 2007-12-19 23:35:18 +00:00
Jonathan.Wage
2e16d60601 fixes #649 2007-12-19 23:33:31 +00:00
Jonathan.Wage
bef37c27ba fixes #658 2007-12-19 23:02:26 +00:00
Jonathan.Wage
0e528198fb fixes #640 2007-12-19 22:45:14 +00:00
Jonathan.Wage
d1df55e316 Refactorings for schema files and Doctrine_Record builder. More to come but got held up on some things that zYne- must fix first. 2007-12-19 22:41:11 +00:00
guilhermeblanco
132e5c969c CHG: Changed private variable name (chunkLength to _chunkLength) in Jumping.php and Sliding.php
CHG: Added documentation for Doctrine_Pager and Doctrine_Pager_Range* classes
TODO: Finish pagination documentation
2007-12-19 03:07:41 +00:00
Mosh
9de41c83d1 Fixed #680: Missing quotation of ENUM DEFAULT Statement 2007-12-18 19:40:18 +00:00
pookey
f3e9fe66a8 adding a toString method to pager layout 2007-12-18 12:00:12 +00:00
pookey
d6ec2665ec fixing typo in exception 2007-12-18 11:54:14 +00:00
romanb
51c88e2020 Merged 3405 (Fixed #626) from 1.0 branch. 2007-12-15 19:19:31 +00:00
guilhermeblanco
a95073abff CHG: Doctrine coding standards adjustments
ADD: Added methods: addMaskReplacement, removeMaskReplacement and cleanMaskReplacements in Doctrine_Pager_Layout. They are responsable to make masks behavior as another masks or values on predefined situations.
2007-12-13 03:07:24 +00:00
romanb
1446447107 Fixed #673. 2007-12-12 16:21:54 +00:00
romanb
79b79909ad Refactored transactions. Fixed #464. 2007-12-12 15:52:12 +00:00
romanb
467897dadb Fixed #626. 2007-12-12 09:54:39 +00:00
adamthehutt
13b5346a4f Fix for #669 2007-12-11 23:03:57 +00:00
jackbravo
ab8819ca66 Related to bug #662 2007-12-11 18:25:34 +00:00
romanb
9281630ed7 Fixed #664. 2007-12-11 15:55:45 +00:00
romanb
6a958bae47 Fixed #665. 2007-12-11 15:46:27 +00:00
romanb
532dea0dd2 Fixed #662 2007-12-11 15:25:56 +00:00
romanb
2717408be8 Fixed #662 2007-12-11 15:25:23 +00:00
wernerm
094dab1d4f Changed the link() method's use of getLocal() and getForeign() to getLocalFieldName() and getForeignFieldName(). 2007-12-11 11:31:13 +00:00
wernerm
c655b6023c Added link() functionality to create links between related records. It basically works in the opposite way as unlink(). 2007-12-11 11:10:27 +00:00
zYne
efa434800c removed parseAggregateFunction 2007-12-10 19:19:29 +00:00
zYne
3500a6fb17 added parseFunctionExpression 2007-12-10 18:59:12 +00:00
zYne
e5d43b2fcc added parseSubquery() 2007-12-10 18:51:22 +00:00
zYne
e069f12c6c 2007-12-10 18:32:36 +00:00
pookey
f4186781db possibly a temp fix. fix to allow postgres array datatypes work as a string 2007-12-10 13:19:29 +00:00
jackbravo
75ccd8cd43 Change if for else if on synchronizeWithArray 2007-12-09 17:46:28 +00:00
jackbravo
78195944be Added synchronizeWithArray method and unset functionality for relations
The unset functionality is not working for foreignKey relations
2007-12-09 01:56:53 +00:00
Jonathan.Wage
4275c6656f Removed exec() call and updated docs for data fixtures. 2007-12-07 22:48:28 +00:00
wernerm
0b89c4dda2 Changed loadModels() once again. Removed loading of models based solely on model filename. Added support for different models with the same file names. All models files are required, in order to determine class names. The changes result in an overall increase in flexibility with respect to model file names. 2007-12-07 11:06:55 +00:00
dbrewer
7e0a902aba Added test case to demonstrate that delimiters in
Doctrine_Query_Tokenizer::bracketExplode() were case sensitive, and 
changed tokenizer to make them case insensitive.
2007-12-07 03:23:09 +00:00
romanb
af657cbe69 Introduced a new attribute ATTR_AUTOLOAD_TABLE_CLASSES that can be used to control whether Doctrine should try to autoload custom table class files when looking for them. 2007-12-06 19:02:29 +00:00
adamthehutt
2bcd41e237 Fix for ticket #650
Ticket: 650
2007-12-06 14:17:03 +00:00
meus
19c08a2f95 removed autoload of self 2007-12-06 11:09:00 +00:00
romanb
05ccf7098d Improved autoload. 2007-12-05 09:50:47 +00:00
pookey
0c9c3767c2 allowing for the "interval" postgres datatype 2007-12-04 15:22:20 +00:00
romanb
a143caefe3 Fixed #626. Reopening the ticket for further issues is fine. 2007-12-03 18:37:39 +00:00
guilhermeblanco
806e9c63e6 Fixed default definition in date* fields 2007-12-03 17:56:56 +00:00
romanb
8ed0530fbf Fixed #626. 2007-12-03 10:06:30 +00:00
romanb
28fba54f4a Another hydrator speed improvement. 2007-12-02 15:04:51 +00:00
romanb
5e26473340 Fixed #636. 2007-12-02 12:56:15 +00:00
romanb
baf77264c1 Hydrator speed improvement 2007-12-01 20:10:29 +00:00
romanb
fc310cf36c Fixed #626. Commented out plugin tests due to a fatal error. 2007-12-01 11:18:43 +00:00
jackbravo
a73a73da66 Fix tickets #583 and #576 2007-12-01 01:21:55 +00:00
jackbravo
338bd78e66 Added a description to the Doctrine_Record::cleanData() method 2007-11-30 23:49:46 +00:00
Jonathan.Wage
9f20184fc4 Updated version. 2007-11-30 23:39:32 +00:00
Jonathan.Wage
e6768b4f8b Initial entry of Geographical template. 2007-11-30 22:49:23 +00:00
Jonathan.Wage
e8bb04a66e Reverted change. actAs() and loadTemplate() currently only work in the setTableDefinition() 2007-11-30 22:49:04 +00:00
jackbravo
deabfcbb54 Fix ticket #620, PATCH provided by baron314159, thanks 2007-11-30 22:46:06 +00:00
Jonathan.Wage
70addc55ca Fixes to model building so it does not generate duplicate relations. 2007-11-29 15:57:05 +00:00