Moving $_minimizedAttributes form HtmlHelper back into Helper, as _parseAttributes is using it

This commit is contained in:
Jose Lorenzo Rodriguez 2012-03-01 14:56:56 -04:30
parent 96f73d6392
commit c84e25e5b4
2 changed files with 12 additions and 11 deletions

View file

@ -135,6 +135,18 @@ class Helper extends Object {
*/ */
protected $_entityPath; protected $_entityPath;
/**
* Minimized attributes
*
* @var array
*/
protected $_minimizedAttributes = array(
'compact', 'checked', 'declare', 'readonly', 'disabled', 'selected',
'defer', 'ismap', 'nohref', 'noshade', 'nowrap', 'multiple', 'noresize',
'autoplay', 'controls', 'loop', 'muted'
);
/** /**
* Default Constructor * Default Constructor
* *

View file

@ -102,17 +102,6 @@ class HtmlHelper extends AppHelper {
'javascriptend' => '</script>' 'javascriptend' => '</script>'
); );
/**
* Minimized attributes
*
* @var array
*/
protected $_minimizedAttributes = array(
'compact', 'checked', 'declare', 'readonly', 'disabled', 'selected',
'defer', 'ismap', 'nohref', 'noshade', 'nowrap', 'multiple', 'noresize',
'autoplay', 'controls', 'loop', 'muted'
);
/** /**
* Format to attribute * Format to attribute
* *