Commit graph

247 commits

Author SHA1 Message Date
phpnut
06f8fbb7c9 Adding FormHelper::generateTime()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3319 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 18:01:50 +00:00
phpnut
943454d280 Adding time to FormHelper::generateFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3318 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 17:55:22 +00:00
phpnut
e683b7090b Adding fix for #1168
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3317 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 17:52:12 +00:00
phpnut
ad32fd4cf2 Merging fixes from [3315]
Fixing errors when trying to use plugin components.
Added Controller::_initComponents();
Changed helpers and components to allow using plugins helpers or
components.
Syntax:
var $helpers = array('PluginName/HelperName');
var $components= array('PluginName/ComponentName'); 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3316 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 17:28:13 +00:00
phpnut
566f1b60b9 Fixing errors when trying to use plugin components.
Added Controller::_initComponents();
Changed helpers and components to allow using plugins helpers or 
components.
Syntax:
var $helpers = array('PluginName/HelperName');
var $components= array('PluginName/ComponentName');


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3315 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 17:08:23 +00:00
phpnut
4594e09cde Adding changes for new Theme view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3313 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 05:59:42 +00:00
phpnut
8b69475c08 "Adding theme view to 1.2.x.x branch"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3309 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 04:16:54 +00:00
phpnut
0ae0905004 Adding fix for Ticket #1219.
Checking for an object being passed.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3306 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 17:13:02 +00:00
phpnut
5549ddfd75 Replacing labelTag with new label().
Merged changes to bake.php


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3305 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 16:52:36 +00:00
nate
1dc6c1128b Adding TextHelper::toList(), to create natural-language lists from arrays
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3304 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 04:20:30 +00:00
nate
c50275de24 Cleaning up TextHelper code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3303 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 04:12:24 +00:00
nate
cd3578e0b4 Adding optional $data parameter to Model::create(), allowing default data to be set when initializing a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3302 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 04:10:41 +00:00
nate
71a119ba3d Fixing up FormHelper::label
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3299 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-25 02:18:37 +00:00
nate
03fe0df49c Adding :-style named arguments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3295 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-23 16:13:05 +00:00
nate
de0c4e8500 Implementing Form.Element.EventObserver in AjaxHelper::observeField (Ticket #1194)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3294 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-23 16:10:35 +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
dho
37e7d798d1 Applying doc patch (ticket #1186)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3275 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-21 08:48:41 +00:00
phpnut
6dc000f826 Beginning to port fixes to 1.2.x.x code from 1.1.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3269 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-15 03:47:27 +00:00
phpnut
6d71310f00 Beginning to port fixes to 1.2.x.x code from 1.1.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3268 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-15 03:36:53 +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
0a5b1b6450 Adding fix for Ticket #1063
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-12 04:25:00 +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
0d2ebb1cb3 Finally implementing RequestHandlerComponent::prefers(), and adding respondAs() to provide a wrapper for header('Content...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3217 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 19:46:19 +00:00
phpnut
43fd87e5bc Adding fix for Html::selectTag();
Fix corrects the last selected value from being dropped


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3214 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 16:24:22 +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
dho
af18379343 Fixing syntax error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3212 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 07:07:45 +00:00
phpnut
d8533c4d34 Fixing Notice: Undefined property: AppController::$webservices when debug messages are displayed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3211 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 02:46:16 +00:00
nate
c65e645f8c Adding fix for Ticket #1102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3209 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-06 16:44:03 +00:00
phpnut
08b8fca099 Removing bad character in last commit.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3206 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-06 13:45:13 +00:00
phpnut
3f2bc3ab82 Adding fix for PHP 5.2 errors.
The View::__construct() had a check for $controller != null;
Removing this fixed the errors related to not setting the vars from the controller instance.

Removed $this->parent =& $this->controller->parent; and $this->displayFields=&$this->controller->displayFields; which are not defined in the core Controller

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3204 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-06 13:04:21 +00:00
nate
f367ec5509 Fixing typo in Security component constructor
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3203 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-05 14:23:21 +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
4f425785d0 Adding DOM ID to controller dump, Ticket #1045
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3196 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-29 06:27:57 +00:00
nate
21be313929 Adding create() method to create DataSources dynamically; Ticket #1068
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3195 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-29 06:23:11 +00:00
nate
baf2364c83 Adding $safe param to JavascriptHelper::codeBlock() to wrap JS code in comment and CDATA tags for compatibility with older browsers and XHTML (Ticket #1072)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3194 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-29 05:30:56 +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
nate
1bce3d3dbe Fixing example component file name in error page (Ticket #1083)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3192 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-29 04:26:15 +00:00
nate
b4c3a22bd6 Fixing string escaping in object(), adding enhancements to event(), and consolidating linkOut into link()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3186 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-27 10:35:02 +00:00
nate
5df320bb89 Adding fixes as optimizations for mutli-div updates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3185 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-27 10:29:35 +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
6743ee082d Adding WAP device detection to RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3176 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-24 17:55:06 +00:00