Skip to content

Commit

Permalink
Marked Helper::_parseAttributes() and Helper::_formatAttribute() as d…
Browse files Browse the repository at this point in the history
…eprecated.
  • Loading branch information
jrbasso committed Jul 29, 2011
1 parent 511b480 commit 552791d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/View/Helper.php
Expand Up @@ -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)) {
Expand Down Expand Up @@ -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 = '';
Expand Down

0 comments on commit 552791d

Please sign in to comment.