mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Moving $_minimizedAttributes form HtmlHelper back into Helper, as _parseAttributes is using it
This commit is contained in:
parent
96f73d6392
commit
c84e25e5b4
2 changed files with 12 additions and 11 deletions
|
@ -135,6 +135,18 @@ class Helper extends Object {
|
|||
*/
|
||||
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
|
||||
*
|
||||
|
|
|
@ -102,17 +102,6 @@ class HtmlHelper extends AppHelper {
|
|||
'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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue