From 9bec5d8ebbd2ddc7214e0c9d2d17d7a0e88df86e Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 26 Feb 2007 13:44:04 +0000 Subject: [PATCH] Deprecating HtmlHelper::selectTag() git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4558 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/html.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/libs/view/helpers/html.php b/cake/libs/view/helpers/html.php index 74cb3b164..d2faefcf8 100644 --- a/cake/libs/view/helpers/html.php +++ b/cake/libs/view/helpers/html.php @@ -653,6 +653,7 @@ class HtmlHelper extends AppHelper { * @return string Formatted SELECT element */ function selectTag($fieldName, $optionElements, $selected = array(), $selectAttr = array(), $optionAttr = array(), $showEmpty = true) { + trigger_error(__('(HtmlHelper::selectTag) Deprecated: Use FormHelper::select instead'), E_USER_WARNING); $this->setFormTag($fieldName); if ($this->tagIsInvalid()) { if (isset($selectAttr['class']) && trim($selectAttr['class']) != "") {