Commit graph

187 commits

Author SHA1 Message Date
Juan Basso
df9e1e0bd1 Replace function join (alias) by implode.
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-21 13:43:11 -05:00
predominant
0049c9ad81 Renaming Helper::__name to Helper::_name for proper access level for extension overloading and callback. 2009-11-15 21:18:46 +11:00
predominant
0977b3fe15 Standardising docblock endings throughout. 2009-11-14 23:19:25 +11:00
mark_story
f0628d100b Fixing issues with getting values from habtm data after form posting and validation has failed.
Tests added.
Refs #279
2009-11-09 21:00:19 -05:00
predominant
1185681549 Removing newline caused by Subversion line removal. 2009-11-06 18:01:22 +11:00
predominant
384bb7a0e0 Update license lines throughout. 2009-11-06 17:51:51 +11:00
predominant
d7b604c8ed Fixing links throughout 2009-11-06 17:46:59 +11:00
predominant
8ff6505fe8 Removing excess whitespace 2009-11-06 17:08:23 +11:00
predominant
6782cb019c Update CakePHP Project link. 2009-11-06 17:00:11 +11:00
predominant
5dfe1777af Removing Subversion file headers. 2009-11-06 16:51:09 +11:00
predominant
ceee56013c Remove Subversion $Date$ lines. 2009-11-06 16:17:01 +11:00
predominant
04f1b6cdfe Remove Subversion $LastChangedBy$ lines. 2009-11-06 16:11:16 +11:00
predominant
42f3f16d60 Remove subversion $Revision$ lines. 2009-11-06 16:08:02 +11:00
predominant
1b9b0aae5e Updating Copyright date to include 2009. 2009-11-06 15:34:28 +11:00
predominant
8f75ff58c7 Removing @filesource 2009-11-06 15:24:02 +11:00
mark_story
380b49a446 Fixing Helper::value() and extraction of habtm data. Refs #256 2009-11-04 14:05:12 -05:00
José Lorenzo Rodríguez
ce743c00e8 Expanding Helper an View functionaility to accept deep nested entitities.
This allows the form helper to render inputs with arbitrary number of dot separated parts
2009-10-22 00:17:23 -04:00
José Lorenzo Rodríguez
50ec80ff50 Continuing work on Helper::setEntity and associated methods 2009-10-22 00:17:14 -04:00
José Lorenzo Rodríguez
2941e89da3 Making Helper::viewEntity accept any number of levels 2009-10-22 00:16:37 -04:00
mark_story
fc4df2bb64 Updating documentation. 2009-10-16 22:53:38 -04:00
mark_story
ee514f3fc6 Adding Helper::assetTimestamp()
Refactor's repeated code from Html and Javascript Helpers.
Test cases added.
2009-09-23 23:45:11 -04:00
AD7six
b2142df2bc adding a newline before all comment blocks 2009-07-24 21:18:37 +02:00
renan.saddam
bd7bd5d891 Fixing issue when generating textarea with null value.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8146 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-16 18:12:01 +00:00
mark_story
af021cb4b2 Adding Html entity conversion to all urls generated by helpers, fixing potential for merged passedArgs to create xss vectors.
Adding integer cast in paginate() to page param. 
Tests added/updated.
Fixes #6134

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8061 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 19:51:41 +00:00
mark_story
2da0c208d5 Fixing Helper::value() when only a fieldname is used. Refactoring Helper::value() to reduce method calls. Added tests to Helper. Fixes #6033
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8012 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-26 19:45:55 +00:00
mark_story
b94a85e938 Altering Helper::url() to enforce escaped query strings for generated urls.
Tests added to Html::link().  Fixes #5982

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7991 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:41:47 +00:00
renan.saddam
6319f8ea69 Removed trailing whitespaces from core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:54:07 +00:00
AD7six
3f2fa6929b changing tabs for spaces in comment block indentation
Removing address and replacing with cakefoundation url


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
1b456f2cf1 Applying patch from 'davidpersson' fixing code spacing. Closes #5643
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
nate
80c1950530 Refactoring FormHelper security token generation, fixing code formatting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7639 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-21 04:06:37 +00:00
phpnut
8ae5866a1c Additional optimization refactoring
Removed ability to use deprecated / with plugin, helper, etc combinations. The dot notation is only allowed from this point forward.
Corrected tests for the above changes.
Corrected formating in basics.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7623 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 03:09:19 +00:00
phpnut
cb487bd6e6 More optimization refactoring.
Fix cache but causing  object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
phpnut
80fa429785 Adding fix for undefined notice in vendors.php
Removed check for required file in Cache::!__loadEngine();
Fixed cache being wrote on each request from Configure::listObjects(); when data was an empty array
Removed extra call to App::getInstance(); in App::import();
Moved setting of App::!__loaded; inside of if statement.
Removed cake core install directory paths from the cached dir_map.
Changed uses('file'); to require statement in file.php
Changed uses('set'); to require statement in inflector.php
Removed check for existing inflections.php since this file has been included in 1.2 since Dev releases.
Added additional test for Helper::clean();
Fixed bug in Helper::!__clean();
Fixed random output of 1 when using MediaView;
Added csv mime type to MediaView



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 03:42:17 +00:00
mark_story
21acac5c59 Removing Helper::assign()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7477 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-19 01:25:33 +00:00
nate
974e62baf1 Adding file to previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:53:45 +00:00
gwoo
4a94397b43 removing deprecated code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 01:04:03 +00:00
TommyO
b6e9888753 Replaced all instances of ife() in /cake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 20:34:01 +00:00
gwoo
7ad1790ea2 removing and moving deprecated code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7285 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:19:04 +00:00
nate
f7a4858503 Correcting coding standards violations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7220 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 11:57:56 +00:00
mariano.iglesias
768e0c748b Keeping index when setting validation errors for saveAll, fixes #4769 and closes #4462
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7079 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-31 22:01:47 +00:00
nate
42da5aba81 Moving Cake folder to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2 deleting cake folder from svn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
mark_story
6ed1fc8fbe Corrected CONFIGS usage in Helper and Configure as per patch from 'zeuthen'.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7041 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 22:46:40 +00:00
gwoo
3263c0bc81 fixes #4571 Helper::clean() returns null if passed empty array or string.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6759 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:41:15 +00:00
nate
98831d27fe Enabling mutli-record validation errors in FormHelper, fixes #4076
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6540 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 18:28:38 +00:00
nate
9a6029f03e Fixing fully-qualified form field references, fixes #4068
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6535 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:36:34 +00:00
gwoo
fb4244bb89 updating Helper::setEntity() and form.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6464 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-18 21:58:32 +00:00
nate
7f673226d7 Enabling suffixes for virtual fields, fixes #3724
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6449 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:20:43 +00:00
gwoo
aeaeb97a49 updating helpers for multiple records, fixes #3874
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 18:50:31 +00:00
nate
188ff4737d Removing database-generated primary keys from fixture data, fixed primary key handling in schema generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 07:02:33 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
gwoo
99da081907 updating dispatcher, fixes #3773, fixes #3783, fixes #3779, updating default layouts, adding Debugger::dump($var); and some other changes for exporting string vars
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:22 +00:00
nate
10a2a446d3 Fixing FormHelper::select() with multiple checkbox option when all options are de-selected (Ticket #3716)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6191 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 04:20:35 +00:00
nate
2bec88b134 Adding fix for array to string conversion error in Helper::__formatAttribute() (Ticket #3674)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6162 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 23:00:42 +00:00
nate
003aaec870 Adding PaginatorHelper::url() (Ticket #2493), refactoring Paginator, eliminating extra space in <a /> tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6151 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:07:25 +00:00
gwoo
16ee2d2661 fixing fieldSuffix in Helper::setEntity(), closes #3724 added tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6143 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 04:08:19 +00:00
phpnut
d4129b7c5e "Adding additional removal of harmful content when using Helper::clean();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6137 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-09 06:43:44 +00:00
phpnut
8a2b51c3ec "Removing all shortcut function usage from the core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 06:08:03 +00:00
gwoo
f3d0b54cb3 fix for Helper::setEntity(), tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6125 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 10:55:42 +00:00
phpnut
872dfbfcef "Correcting Helper::setEntity() check if $parts[0] matches current model
Added tests for fix.
Adding escaping of \\ in FileEngine::write();"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6119 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 07:43:19 +00:00
gwoo
adcba2cc2d updating Helper::value, adding some tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6118 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 01:16:14 +00:00
gwoo
a215688e87 adding support for multiple records in Helper::value()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6024 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-19 09:05:20 +00:00
nate
b3e4b64aa6 Adding Helper/FormHelper fixes for field names which are like model names (Ticket #3588)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6011 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-17 04:27:24 +00:00
phpnut
eb6c94a01e Closes #2781, $form->input on date fields renders maxYear and minYear in $options as HTML attributes.
Closes #3181, Year list ordering in FormHelper order is now formated descending.
Fixes #3524, FormHelper->month, day, year, hour, and minute should use $selected if it is supplied.
Fixes #3558, post validation don't pass if form use only hidden fields.
Fixes #3568, Saving datetime fields is broken in scaffolding.
Fixes #3574, Typo in Session class.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5987 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 11:31:43 +00:00
gwoo
6c0e70faa5 updating scope in Helper::setEntity()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5981 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 00:57:38 +00:00
gwoo
d303a64f65 refactoring Helper::setEntity, adding test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5970 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 00:17:44 +00:00
gwoo
42767170d1 fixing habtm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5967 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 01:44:47 +00:00
nate
858447a184 Fixing date/time inputs and removing dependency on Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5965 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 00:05:12 +00:00
nate
6040dd2779 Updating helpers with new form field naming scheme
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5945 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:07:59 +00:00
nate
7e9b05e429 Adding hidden form inputs for REST routing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5913 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 05:28:45 +00:00
mariano.iglesias
896f62544b Changing @return int to @return integer and @param bool to @param boolean
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
da97a5c871 Correcting @return bool
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
mariano.iglesias
897825d596 Adding documentation to classes belonging to Cake console.
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
nate
5a2a7c8f46 Fixing undefined offset issue with multi-select elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5750 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-11 19:55:24 +00:00
nate
736ab28b0b Refactoring Helper/FormHelper to actually use dynamically generated name attributes; refactoring out extra parameter in FormHelper::radio(), per gwoo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5744 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 20:44:28 +00:00
phpnut
85492fba92 Adding fix for Ticket #2750, fixes rendering of links when requestAction() is used.
Router::url() replaced $_this with $this which is an instance of the class from which the method is called, in the case of this ticket it was an instance of the HtmlHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 06:47:57 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
gwoo
851a834995 fixing form helper for tickets #2726 and #2659, updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:17:40 +00:00
phpnut
cbd5bc9e47 Changing Helper::_ _value(); to Helper::value();
Removed HtmlHelper::value();
Changed all references to _ _value() to value();
Started changes needed for loading custom view classes located in a plugin

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5213 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 19:54:36 +00:00
phpnut
137fea94c6 Cleaning up line endings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
phpnut
4bac0a063b Removing deprecated code and files
/basics.php
 * normalizeList() Deprecated: see Set::normalize
 * countdim() see Set::countDim

libs/controller/components/request_handler.php
 * RequestHandler::disableStartup = false; see RequestHandler::$enabled
 * RequestHandlerComponent::setView() see RequestHandlerComponent::renderAs()
 * RequestHandlerComponent::setAjax() see RequestHandlerComponent::renderAs()

libs/controller/components/session.php
 * SessionComponent::flash() use $session->flash('key'); in your views

libs/controller/controller.php
 * Controller::_setTitle() see Controller::set()

libs/model/datasources/dbo_source.php
 * DboSource::fetchArray() see DboSource::fetchRow()
 * DboSource::one() see DboSource::fetchRow()

libs/model/db_acl.php
 * DB_ACL::getAco()  see AclComponent::$Aco::node()
 * DB_ACL::getAro() see AclComponent::$Aro::node()

libs/neat_array.php
 * Class is not longer available use libs/set.php Set class

libs/sanitize.php
 * Sanitize::sql() see Sanitize::escape()
 * Sanitize::cleanArray() see Sanitize::clean()
 * Sanitize::cleanArrayR() see Sanitize::clean()
 * Sanitize::cleanValue() see Sanitize::clean()

libs/view/helper.php
 * Helper::parseHtmlOptions() see HtmlHelper::_parseAttributes()

libs/view/helpers/form.php
 * define('TAG_DIV', '<div class="%s">%s</div>');
 * define('TAG_P_CLASS', '<p class="%s">%s</p>');
 * define('TAG_LABEL', '<label for="%s">%s</label>');
 * define('TAG_FIELDSET', '<fieldset><legend>%s</legend>%s</label>');
 * FormHelper::labelTag() see FormHelper::label()
 * FormHelper::divTag() see HtmlHelper::div()
 * FormHelper::pTag() see HtmlHelper::para
 * FormHelper::generateInputDiv() see FormHelper::input()
 * FormHelper::generateCheckboxDiv() see FormHelper::input()
 * FormHelper::generateDate() see FormHelper::input()
 * FormHelper::generateTime() see FormHelper::input()
 * FormHelper::generateDateTime() see FormHelper::input()
 * FormHelper::generateAreaDiv() see FormHelper::input()
 * FormHelper::generateSelectDiv() see FormHelper::input()
 * FormHelper::generateSubmitDiv() see FormHelper::input()
 * FormHelper::generateFields() see FormHelper::input()

libs/view/helpers/html.php
 * HtmlHelper::file() see FormHelper::file()
 * HtmlHelper::submit() see FormHelper::submit()
 * HtmlHelper::selectTag() see FormHelper::select()
 * HtmlHelper::formTag() see FormHelper::create()
 * HtmlHelper::linkEmail() see HtmlHelper::link()
 * HtmlHelper::dayOptionTag() see FormHelper::day()
 * HtmlHelper::yearOptionTag() see FormHelper::year()
 * HtmlHelper::monthOptionTag() see FormHelper::month()
 * HtmlHelper::hourOptionTag() see FormHelper::hour()
 * HtmlHelper::minuteOptionTag() see FormHelper::minute()
 * HtmlHelper::meridianOptionTag() see FormHelper::meridian()
 * HtmlHelper::dateTimeOptionTag() see FormHelper::dateTime()

libs/view/helpers/javascript.php
 * JavascriptHelper::linkOut() see JavascriptHelper::link()

libs/view/view.php
 * View::setLayout() use $this->layout in your view

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4981 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 08:07:19 +00:00
phpnut
7982208113 Reverting changes in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4975 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:17:27 +00:00
nate
154e3ccbb1 Refactoring FormHelper token generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4974 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:03:35 +00:00
phpnut
c91965dc89 Adding fix for #2371, fixes HtmlHelper submit() method doesn't allow HTML entities in caption
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4895 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 23:52:19 +00:00
nate
23fc1e8e53 Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:55:56 +00:00
phpnut
8fa50d9100 Adding fix for Ticket #2285
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4671 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 01:16:29 +00:00
nate
e03c12eea3 Fixing default input values for form inputs, and adding test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4664 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 17:32:02 +00:00
phpnut
7cee084212 Refactoring Helper::setFormTag()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4660 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:50:41 +00:00
phpnut
38577ca149 Adding fix for #2219
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4654 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 06:36:24 +00:00
phpnut
b183501e85 Adding changes needed to allow passing $tagName param using dot notation so use Model.field instead of Model/field which is being deprecated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4630 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 07:58:22 +00:00
nate
92cd894314 Fixing AjaxHelper::dropRemote() (Ticket #2260) and updating test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4626 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 23:54:24 +00:00
gwoo
6e256bd593 updating domId to always return an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4601 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-08 17:25:21 +00:00
nate
169832606c Adding and updating core error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4595 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 20:56:45 +00:00
phpnut
a9c128b0ec Adding fix for Ticket #2101.
Changed Helper::loadConfig() to accept a param with the name of the file to load

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 13:48:21 +00:00
phpnut
59908ac629 Adding Helper::clean() to strip all harmful tags from output.
CHanged Sanitize::escape() to strip off the beginning and ending ' that is added by Dbo*::value()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 12:13:37 +00:00
nate
c0ac0f536b Initial implementation code for dynamic POST variable names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 18:58:18 +00:00
phpnut
f377ed6d2a Adding Helper::webroot() to return correct url if theme is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 07:42:23 +00:00
phpnut
0c490af5b1 Adding fix for #2051
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 04:53:31 +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