mark_story
6d1c38c1cc
expanding doc blocks.
2009-07-29 22:48:40 -04:00
mark_story
def4c98a08
Merge branch '1.3' into 1.3-jshelper
...
Conflicts:
cake/libs/view/helpers/html.php
cake/libs/view/helpers/js.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/lib/header.php
2009-07-25 17:35:27 -04:00
mark_story
2414a43c91
Adding HtmlHelper::scriptStart and HtmlHelper::scriptEnd. Further deprecates JavascriptHelper. Fixing issues in test case.
2009-07-25 15:43:26 -04:00
mark_story
4ebf5a4e32
Merge commit 'code/1.3' into 1.3-jshelper
...
Conflicts:
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/lib/header.php
2009-07-25 01:35:36 -04:00
AD7six
b2142df2bc
adding a newline before all comment blocks
2009-07-24 21:18:37 +02:00
mark_story
9c51f720ed
Merge branch '1.3' into jshelper-integration
...
Conflicts:
cake/tests/cases/libs/view/helpers/js.test.php
2009-07-06 23:43:57 -04:00
davidpersson
68d333d088
Applying patches by ADMad updating HtmlHelper and adding test. Adding missing properties in test case. Preventing bleed through in test case. Fixes #6490
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8220 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-04 22:04:40 +00:00
mark_story
1910e5482b
Updating doc block for HtmlHelper::css(). Fixes #6059
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8175 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-22 01:25:13 +00:00
mark_story
4b690237f0
Merge branch '1.3' of git@thechaw.com:cakephp into 1.3-jshelper
...
Conflicts:
cake/libs/view/helpers/html.php
2009-03-15 13:20:43 -04:00
mark_story
91e47a6379
Adding scriptBlock() to HtmlHelper.
...
Adding tests.
2009-03-12 22:59:55 -04:00
mark_story
7ea7bd90c2
Moving script() method into HtmlHelper.
...
Moving tests.
2009-03-12 19:51:30 -04:00
mark_story
8025743830
Fixing doc blocks in HtmlHelper
2009-03-12 19:34:04 -04:00
renan.saddam
b0a0f2ad30
Refactoring last change to cover issues like [7636]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8079 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-06 13:29:56 +00:00
mark_story
c164be8c03
Enabling Asset.timestamp for HtmlHelper::image() making it consistent with Javascript::link().
...
Tests added.
Fixes #6170
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8078 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-06 04:40:50 +00:00
the_undefined
74bf622866
Fixes #6071
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8053 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-23 15:19:33 +00:00
mark_story
01340e8014
Fixing docblocks in HtmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8048 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 19:07:15 +00:00
mark_story
e7c71b4125
Updating doc blocks in helpers. Helps generate cleaner API.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8014 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-03 18:48:28 +00:00
TommyO
de1d1ae3bd
Fixed asset.timestamp inconsistency for css files.
...
Added tests to confirm css linking.
Closes #5990 . Fixes #5991
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7990 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:19:11 +00:00
nate
ad208ff8c3
Refactoring previous fix to revert markup changes in HtmlHelper, updating FormHelper tests to comply with coding standard, correcting bad assertions, fixing issue with field types being mis-identified if duplicate names are used, fixes #5919
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7959 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 22:13:06 +00:00
nate
61850b1be1
Cleaning up test code formatting, adding fix for POST hash validation of checkbox lists, fixes #5903 , test cases added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7951 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-23 08:13:00 +00:00
mark_story
c49f213fcf
Adding spaces before self close of meta link elements. W3C recommends a space before />. Fixes #5821
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7899 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-30 05:25:37 +00:00
mariano.iglesias
e9953e3f93
Fixing issue where JavascriptHelper::link was generating wrong URLs when webroot is defined and appending timestapping. Fixing issue in previous commit. Fixes #5723 , fixes #5045
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7851 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:45:00 +00:00
mariano.iglesias
81e2f4a044
Fixing commit in r7843 so real files are accounted for
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7850 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:34:51 +00:00
mariano.iglesias
8777b8ef96
Fixing issue where double call to webroot on HtmlHelper::css was generating wrong URLs when forcing asset timestamp, fixes #5723
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7843 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:24:51 +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
mariano.iglesias
46620f8ee2
Fixing issue where reference fatal is thrown with PHP 5.0.5
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7552 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 13:35:04 +00:00
nate
0119c0d46f
Fixing HTML entity escaping in helpers, fixing broken XmlHelper test, all helper tests now passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:53:16 +00:00
mark_story
e20944a976
Added patch from 'biesbjerg' corrects timestamps not being applied to Vendors css and js. Closes #5045
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7325 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 01:19:41 +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
nate
63217b7e10
Fixing failing tests in core helper group, closes #4946
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7213 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:31:00 +00:00
gwoo
2756634b73
removing deprecated methods from HtmlHelper, File, and Folder
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7182 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:53:06 +00:00
mark_story
44159ec303
Removed all references to Router::url in all helpers. Closes #4880 . Fixed failing test in RssHelper, added more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7164 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:10:32 +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
nate
7402680cc1
Misc code formatting and whitespace fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7020 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:11:41 +00:00
joelmoss
be63f26e78
Improving documentation for HtmlHelper::tableCells()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7004 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 12:32:38 +00:00
joelmoss
17c542d76d
HtmlHelper::tableCells() now accepts a fifth parameter $continueOddEven, which by default is true, thereby not affecting current behaviour. When false, $count will not be static, and will therefore start from zero, giving correct odd and even values if they are passed. Fixes #4222
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7003 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 09:13:23 +00:00
mark_story
f7438da72e
Implemented patch from 'johnathansnook' closes #4496 Form::inputs now allows for fieldset classname to be set. Updated tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6991 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-21 03:57:35 +00:00
DarkAngelBGE
0db9a4ca00
fixing html helper textarea duplicate key, fixes #4214
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6960 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 08:03:22 +00:00
joelmoss
9a4c186ccd
Html::tag now accepts $attributes as a string, in which case, it will be used as the tags class name.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6859 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:09:37 +00:00
joelmoss
65454882f3
Created Html::tag helper which allows you to create any HTML block tag. Html::div now uses this method.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6858 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:04:52 +00:00
mariano.iglesias
b32a196238
Adding more coverage for HtmlHelperTest and fixing issue where HtmlHelper::meta() was overriding the found type as specified in attribute
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6788 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 04:57:46 +00:00
nate
a392e5e605
Refactoring tests and adding code coverage for HtmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 17:48:14 +00:00
nate
648d01e2e6
Adding test cases for HtmlHelper::charset()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 12:02:58 +00:00
nate
698d3e4f40
Removing default value for required parameter in HtmlHelper::meta(), fixes #4321
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6562 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 04:10:39 +00:00
nate
0073683a54
Added Configure option Asset.timestamp = 'force', to force asset timestamps in production mode, fixes #921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6461 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 17:35:13 +00:00
nate
f3355bd74b
Removing all references to deprecated 'webservices' and 'bare' routes and route parameters, removing deprecated constants, updating core tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:18:41 +00:00
nate
41cb80ee46
Removing deprecated function call from HtmlHelper::checkbox()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6419 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-30 15:19:53 +00:00
gwoo
cb27bcc21a
fixes #3961 options in Html::tableCells,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 16:37:47 +00:00
gwoo
39eb8a9218
updating encoding in HtmlHelper::charset((), fixes #3937
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:57:19 +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
nate
368b085c94
Adding asset filters for CSS and JS, set using 'Asset.filter.css' and 'Asset.filter.js', fixes #2233
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 05:19:00 +00:00
nate
18110fe97a
Adding asset timestamps for JS, CSS, and images. Set 'Asset.timestamp' to true in Configure (only in dev mode), fixes #921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 04:24:14 +00:00
gwoo
f6b71c29e9
updating HtmlHelper, closes #2592 , closes #2406 , closes #2220 , closes #2080 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 21:14:15 +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
phpnut
9bed2fa6d7
"Fixes #3255 , Adding link attributes to breadcrumb links in Html helper"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:07:27 +00:00
gwoo
a2624df5f2
fixing fail in Html::meta(); and adding ClassRegistry::flush(); to fix no_database test group.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 01:07:10 +00:00
gwoo
eebdb12eaa
updating HtmlHelper::meta(), closes #3223 , #3224 , #3225 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6206 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 23:36:24 +00:00
gwoo
ea1b6581bc
adding error to html tags array, adjust form helper to use it, closes #2088 , closes #1022
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6196 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 06:37:30 +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
5e7f3a8287
Implementing FormHelper::button(), with options for alternate button types (Ticket #2341 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6188 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 01:27:50 +00:00
nate
68b024e187
Enabling custom URLs in HtmlHelper::image(), and adding FormHelper::file() tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6163 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 23:46:56 +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
101ebba716
updatin HtmlHelper::css() to accept .css?1234, closes #3503
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6080 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 20:17:25 +00:00
gwoo
28ada1f684
updating HtmlHelper::nestedList() to accept string type ul/ol as second attribute, also closes #3144
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6079 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 20:12:51 +00:00
nate
1f56ef2b7a
Adding 'multiple' => 'checkbox' option to FormHelper::select() (Ticket #1901 and Ticket #3043 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5992 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-14 05:51:49 +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
gwoo
fbd3811cd1
removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +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
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
phpnut
5e48ab9bb8
Fixes #3271 , onclick="return false;" don't work in IE
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:41:42 +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
590ec3650f
Closes #1497 , Non-linked breadcrumbs
...
Closes #1103 , List functions for ul / ol elements in HtmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:42:33 +00:00
gwoo
ed6b0d7649
fixes #3184 FormHelper::radio() values, fixes #3156 FormHelper::create() action, fixes #3097 FormHelper::label() localization text. Thank you for the patches and tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-07 01:22:03 +00:00
nate
8dd6c78754
Modifying HtmlHelper::style() for use in attribute arrays, adding core helper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:33:03 +00:00
phpnut
4ff21a6a08
Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 03:47:35 +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
john
b0d8c63682
Updating doc strings with clarified instructions.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5261 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 04:29:16 +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
gwoo
5a0832f086
updating formHelper for #1035 adding more tests, fixing some tags the would produce spaces
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:16:47 +00:00
gwoo
9667aa793a
adding strfrotime to FormHelper::month #700 , fix to radios which still need to be moved
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5178 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:14:14 +00:00
gwoo
e45062f3ef
updating html helper, deprecated methods moved to bottom
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:50:20 +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
2baa585437
Added fix for #2453 , fixes HtmlHelper link escape title as string
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4926 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 10:25:58 +00:00
dho
c529d363a8
Adding patch and test for ticket #2369
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4881 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-25 07:28:20 +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
20e41074c9
Adding fix for Ticket #2364
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4814 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:44:18 +00:00
phpnut
69da631d61
Adding fix for Ticket #2353
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:20:08 +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
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
phpnut
d6f73252ae
Moved all deprecated methods to end of file.
...
Added notices for all methods that are deprecated.
Added fix for Ticket #2185 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 15:28:08 +00:00
nate
9bec5d8ebb
Deprecating HtmlHelper::selectTag()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 13:44:04 +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
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
9751f8549b
Adding fix for #2012
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4404 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:58:38 +00:00
nate
620f00adef
Updating HtmlHelper::css() to support array paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4341 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 18:17:23 +00:00
nate
cb2952d60b
Adding shortcut icon generating to HtmlHelper::meta()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 01:56:12 +00:00