Browse Source

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

Jose Lorenzo Rodriguez 14 years ago
parent
commit
c84e25e5b4
2 changed files with 12 additions and 11 deletions
  1. 12 0
      lib/Cake/View/Helper.php
  2. 0 11
      lib/Cake/View/Helper/HtmlHelper.php

+ 12 - 0
lib/Cake/View/Helper.php

@@ -136,6 +136,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
  *
  * @param View $View The View this helper is being attached to.

+ 0 - 11
lib/Cake/View/Helper/HtmlHelper.php

@@ -103,17 +103,6 @@ class HtmlHelper extends AppHelper {
 	);
 
 /**
- * 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
  *
  * @var string