nate
8b23234b53
Fixing code formatting in DBOs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3668 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 17:21:28 +00:00
nate
3a03674c76
Moving DataSource::getFieldValue to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3667 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 17:19:03 +00:00
nate
76e52d3862
Adding fix for decimal numbers being quoted (Ticket #1360 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3618 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:42:35 +00:00
nate
1842759ed4
Adding 'with' join fixes, and field quoting fix for Ticket #1445
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3614 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:03:45 +00:00
nate
49d8dac242
Merging in MS SQL fixes from 1.1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3591 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 22:41:50 +00:00
nate
f0a44f4810
Small refactoring in DboMysql
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3588 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:51:35 +00:00
nate
f01e1a28f4
Adding field quoting fix for Ticket #1372
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3536 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 03:56:57 +00:00
nate
9a03326ad6
Adding DboPostgres::value() fix for boolean values (Ticket #1285 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3528 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 05:00:06 +00:00
phpnut
bdf3e7e61f
Fixed #1433
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3524 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 03:26:52 +00:00
phpnut
2d6eee36ac
Refactored fix that was created in [3519]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3521 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 15:24:15 +00:00
phpnut
6cc9c12839
reverting changes made in [3519]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3520 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 15:17:17 +00:00
phpnut
79ad31c514
Adding fix for #833 .
...
Fixes recursive >=1 when using Model::findCount();
Removed all fields being added to the query.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3519 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 07:20:51 +00:00
phpnut
fb7585e7ee
Added fix for #1345 and #1417 .
...
This fixes Self Referencing Models losing data when recursive > 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3513 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 02:08:54 +00:00
phpnut
ead9f329e9
Adding fix for #1396 .
...
Would not allow saving values with \ in the string
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3504 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 02:39:06 +00:00
phpnut
fc54b0f31a
Adding fix for #1165 .
...
Changing Model::__constructLinkedModel() to use the association name for
the instance of an associated model.
Changed DboSource::read() to use the association name.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3484 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 21:59:51 +00:00
phpnut
678ec860a1
Adding fix from #1215
...
Fixes issues with saving HABTM
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3478 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 18:37:51 +00:00
phpnut
27fc6bced9
Fixing error when using associations with recursive level deeper then 1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3474 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 02:47:11 +00:00
phpnut
10ad71b30c
Adding fix for association query when the association has a null value
...
for a FK
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3473 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 02:11:38 +00:00
nate
93f7dd32ca
Fixing issue with magic field values ({$__cake_ID__}) being quoted twice
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3464 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 07:09:14 +00:00
nate
213e22b1a8
Adding descrption compatiblity fixes to SQLite driver (Ticket #1211 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3450 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-05 15:37:13 +00:00
nate
9f454bf5b9
Fixing operator parsing issue with array-based conditions (Ticket #1364 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3447 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-04 13:37:26 +00:00
nate
cb87dfc71d
Fixing issue with empty $conditions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3442 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-30 16:00:20 +00:00
nate
b46c20ead4
Fixing limit/offset bug in hasMany/hasAndBelongsToMany associations, to enable paging of related models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3435 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-27 16:47:05 +00:00
nate
be1737114c
Adding $primary parameter to Model::afterFind() (and Behavior::afterFind())
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3408 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 08:00:54 +00:00
nate
86e9b9090a
Adding 'IS NULL' fix from Ticket #1075 , and fixing join issue with AND NOT
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3401 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-15 19:19:39 +00:00
nate
0f69646186
Duplicating fix from [3373]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3375 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 22:51:59 +00:00
phpnut
cf6d284b29
Added patch from Ticket #1229
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3350 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 21:58:13 +00:00
nate
60c6d3be02
Duplicating changes in [3332].
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3333 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 02:32:30 +00:00
phpnut
4347f25025
Reverting changes made by gwoo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3284 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-22 16:45:18 +00:00
gwoo
ceb72b3415
removing some extra whitespace and removing an old @ from dbo_mysqli
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3282 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-22 15:09:43 +00:00
gwoo
c19dbc8806
added model property assoc. this allows access to the association keys => conditions, fields, order, limit, offset from the controller
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3281 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-22 15:05:01 +00:00
nate
07ec77ef22
Adding model behaviors, model onError callback, and updating FormHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3280 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-22 14:13:07 +00:00
gwoo
6b62ff231a
updated msqli driver
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3276 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-21 22:01:26 +00:00
nate
82ebd41fa6
Adding fix for Ticket #1088 , additional refactorings, and code formatting fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3253 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-13 14:55:48 +00:00
nate
bc745b234a
Making same change as [3235]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3236 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-12 04:37:49 +00:00
nate
5af4c7e372
Adding same fixes as [3225] and [3223], and adding HtmlHelper::para() and HtmlHelper::div()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3226 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-11 14:34:35 +00:00
nate
4cf5dea802
Removing unused DBO pseudo-base-class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3219 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 19:55:56 +00:00
nate
5d7d605723
Adding misc. db driver updates, and fixing code formatting of SQLite driver
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3218 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 19:49:13 +00:00
nate
4e183bf492
Fixing notices generated by new HABTM features
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3213 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 15:29:55 +00:00
nate
86fc29facb
Adding join table selects (MySQL-only so far), findBy/findAllBy magic method enhancements (Ticket #412 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3200 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-04 01:29:48 +00:00
nate
0dec0353b1
Model::create() sets default field values based on table def (Ticket #1079 [MySQL-only so far])
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3193 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-29 05:18:34 +00:00
dho
4ead20e052
Removing redundant value() function (ticket #1066 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3183 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-25 11:11:32 +00:00
dho
7e53b3909d
Removing php extension from vendor (ticket #1067 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3181 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-25 07:56:08 +00:00
phpnut
3a9343c7a7
Merged fixed from [3177] into 1.2.x.x branch
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3179 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-24 21:33:51 +00:00
nate
77d92d58c1
Fixing DboMysql to use port # if specified
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3165 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-23 21:16:55 +00:00
phpnut
8c6b0576af
Merging changes from 1.1.x.x branch:
...
[3157]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3158 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-22 20:42:53 +00:00
nate
85d5fe3bba
Adding fix for Ticket #910 (broken db sessions)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3140 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-19 16:15:49 +00:00
phpnut
b31c449167
Added fix for Ticket #1016
...
Check box in edit view does not work.
Model::column() was returning text instead of boolean for the column type
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3136 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-19 02:55:53 +00:00
nate
dfb49aad38
Adding additional fixes for autoComplete(), Ticket #1002
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3131 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-18 19:21:09 +00:00
nate
feba2725c2
Code formatting and base configuration update
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3116 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-15 18:38:32 +00:00