phpnut
5d4e0e6a62
Fixing assigned by reference on php 4, removing reference in Cache::engine()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4941 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 09:32:51 +00:00
phpnut
5c2097f7d3
Adding fix for Controller::modelClass; name when var $uses; is not the same as the Controllers singular name.
...
This is now set to the first value of the key $uses[0] if multiple models are added to var $uses;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4932 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 03:43:48 +00:00
phpnut
d1e2b89c8b
Fixing bug with first level validation not showing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4929 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 20:51:59 +00:00
phpnut
30498981a7
Adding fix for #2473
...
Fixed undefined variable notice in Form::inputs()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4889 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 20:16:38 +00:00
nate
bb8c52dac0
Fixing display of core error messages
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4877 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 16:39:11 +00:00
phpnut
49e58cec49
Adding fix for scaffold when using self associated HABTM
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4759 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 17:25:18 +00:00
nate
c276d65d6f
Fixing Controller::cleanUpFields() formatting bug introduced in [4596] (Ticket #2322 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4733 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 15:01:28 +00:00
nate
e98b37e7cf
Additional timestamp fix for Controller::cleanUpFields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4729 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 07:47:56 +00:00
nate
0039859101
Fixing Controller::cleanUpFields() to handle timestamp fields, and properly unset meridian values
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4722 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 03:34:39 +00:00
nate
1f0d3d7145
Refactoring Controller::paginate() to remove duplicate code.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4698 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:31:16 +00:00
phpnut
804e21e869
Reverting changes made in last revision
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4685 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 19:15:55 +00:00
nate
2c906bc4c8
Fixing query order in Controller::paginate() (Ticket #2201 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4681 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:06:45 +00:00
phpnut
f072902d80
Added fix for Ticket #2098
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4673 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:02:10 +00:00
phpnut
3292a8efdb
Adding enhancement idea from Ticket #2201 .
...
Fixed the use of parseHtmlOptions which is deprecated.
Fixed an undefined index on check box when there is no model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 02:03:34 +00:00
gwoo
3cb33ee23b
adding fix for cleanUpFields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4635 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-19 21:15:54 +00:00
gwoo
6a8092b239
adding fix for cleanUpFields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4634 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-19 20:53:52 +00:00
gwoo
48a1a9cba2
updating cleanUpFields to skip created, modified, updated and only update if the field is set
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4623 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 17:30:58 +00:00
gwoo
8581323bf5
updating cleanUpFields to skip created, modified, updated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4616 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 22:09:59 +00:00
gwoo
5be52520c5
fixing bug i introduced in cleanUpFields where it would add the current date to any datetime field
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4609 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 11:46:32 +00:00
gwoo
ac89620c88
refactoring cleanUpFields even though its going to be removed, uncommenting the ajax and abre routes in router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4596 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 23:48:25 +00:00
phpnut
694bee97ac
Moving date/time related form methods to FormHelper.
...
Fixed Ticket #2189 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:14:33 +00:00
john
163e820188
Beefing up documentation blocks.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4547 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 03:41:13 +00:00
john
3b06d7ad6c
Adding some clarifications to controller doc comments.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 17:59:44 +00:00
phpnut
a8a91e35be
Correcting all headers in the files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
5b8f656fe1
Added fix for #1991
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4401 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:57:57 +00:00
nate
375276df4f
Adding redirect fix for Ticket #1951
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4400 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:54:25 +00:00
phpnut
51969dc95a
Adding fix for #1988
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4385 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 07:06:40 +00:00
nate
4010ecb8b3
Adding Controller::redirect() fix (Ticket #1951 ), and fixing redirect URL to conform with HTTP/1.1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4309 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 21:26:42 +00:00
nate
4ad44ec8a0
Fixing AppController::$uses merging for controllers with no models of their own. To completely disable $uses, set $uses = null in your controller.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 15:46:12 +00:00
gwoo
0c2579c565
updating bake and css, also added a name key to the generateFieldNames
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 02:43:15 +00:00
nate
7e6db39d50
Additional helper detection for paginate()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 23:39:47 +00:00
nate
f96a1728eb
Fixing ambiguous key sorting in Controller::paginate()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4254 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 21:46:28 +00:00
gwoo
315529507c
overfactoring namedArgs, they are used by default with a colon as a separator
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 15:37:45 +00:00
nate
d2967c3f92
Adding Paginator methods for links and sorting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:27:02 +00:00
nate
9ce0247acc
Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4232 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 06:12:29 +00:00
nate
ebe6bab814
Adding Controller::flash() fix for Ticket #1783
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4164 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 20:31:06 +00:00
phpnut
42198541d3
Updating core files with translation function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4152 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 09:09:06 +00:00
phpnut
4f1c5ef386
Wrapping all core messages in translation function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4129 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 22:49:47 +00:00
phpnut
3bc7ae19c2
Fixing Controller::generateFieldNames() when alias used in a HABTM
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4090 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-11 01:33:18 +00:00
nate
2c7f129aaa
Adding 3rd param to Controller::redirect to allow auto-exiting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4082 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 08:36:36 +00:00
phpnut
7b6e81c1e2
Fixing Scaffold in 1.2.x.x when setting Controller::persistModel = true;
...
Corrected error message with correct method name in scaffold_error templates.
Removed unneeded check for Controller::persistModel in 1.2.x.x.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4038 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 00:48:00 +00:00
gwoo
f9290417e2
adding ctp extensions for Controller::flash(), removing Controller::flashOut()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4034 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 17:58:33 +00:00
gwoo
8657757bde
fix form helper, bake, refactor Controller::_selectedArray to just take the association name and checks Controller::data, also made Controller::_selectedArray work for submitted form data and returned model data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4029 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 10:21:22 +00:00
gwoo
5a39777c95
fix to baked views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4023 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 06:44:45 +00:00
phpnut
cbf61ff56f
Merging fixes from 1.2 to 1.1.
...
Added fixes for missing models.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4012 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:05:22 +00:00
phpnut
2e8730e543
Merging fixes from 1.1.x.x into 1.2.x.x
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4010 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 11:18:05 +00:00
gwoo
f5cdfcfd32
fix for generateFieldNames belongsTo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3996 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:11:15 +00:00
nate
c4bee9b414
Fixing validationErrors, and updating ClassRegistry alias for View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3985 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:45:03 +00:00
gwoo
2beb0f2f06
fixed bad check for uses from last commit, update scaffolding
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3984 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 02:31:18 +00:00
gwoo
dfcc29f6bf
refactoring scaffold, scaffodl views, generateFieldNames, FormHelper, ClassRegistry, missingView
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3983 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 01:04:19 +00:00