Permalink
Browse files

Marked Helper::_parseAttributes() and Helper::_formatAttribute() as d…

…eprecated.
  • Loading branch information...
jrbasso committed Jul 29, 2011
1 parent 511b480 commit 552791d74b1194b5f43f7337d597b87f7e8067a9
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Cake/View/Helper.php
View
@@ -351,6 +351,7 @@ public function clean($output) {
* @param string $insertBefore String to be inserted before options.
* @param string $insertAfter String to be inserted after options.
* @return string Composed attributes.
+ * @deprecated This method has been moved to HtmlHelper
*/
protected function _parseAttributes($options, $exclude = null, $insertBefore = ' ', $insertAfter = null) {
if (!is_string($options)) {
@@ -384,6 +385,7 @@ protected function _parseAttributes($options, $exclude = null, $insertBefore = '
* @param string $value The value of the attribute to create.
* @param boolean $escape Define if the value must be escaped
* @return string The composed attribute.
+ * @deprecated This method has been moved to HtmlHelper
*/
protected function _formatAttribute($key, $value, $escape = true) {
$attribute = '';

0 comments on commit 552791d

Please sign in to comment.