Skip to content

Commit

Permalink
Move _attributeFormat and _minimizedAttributeFormat down.
Browse files Browse the repository at this point in the history
Both properties are referenced by Helper.  The properties
should be declared there as well.

Fixes #2771
  • Loading branch information
markstory committed Apr 13, 2012
1 parent fec704c commit 8eb9134
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
13 changes: 13 additions & 0 deletions lib/Cake/View/Helper.php
Expand Up @@ -139,6 +139,19 @@ class Helper extends Object {
'defer', 'ismap', 'nohref', 'noshade', 'nowrap', 'multiple', 'noresize',
'autoplay', 'controls', 'loop', 'muted'
);
/**
* Format to attribute
*
* @var string
*/
protected $_attributeFormat = '%s="%s"';

/**
* Format to attribute
*
* @var string
*/
protected $_minimizedAttributeFormat = '%s="%s"';

/**
* Default Constructor
Expand Down
14 changes: 0 additions & 14 deletions lib/Cake/View/Helper/HtmlHelper.php
Expand Up @@ -102,20 +102,6 @@ class HtmlHelper extends AppHelper {
'javascriptend' => '</script>'
);

/**
* Format to attribute
*
* @var string
*/
protected $_attributeFormat = '%s="%s"';

/**
* Format to attribute
*
* @var string
*/
protected $_minimizedAttributeFormat = '%s="%s"';

/**
* Breadcrumbs.
*
Expand Down

0 comments on commit 8eb9134

Please sign in to comment.