Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move _attributeFormat and _minimizedAttributeFormat down.

Both properties are referenced by Helper.  The properties
should be declared there as well.

Fixes #2771
  • Loading branch information...
commit 8eb913433fc457b78e52d8f0747b4f996e532559 1 parent fec704c
Mark Story markstory authored
Showing with 13 additions and 14 deletions.
  1. +13 −0 lib/Cake/View/Helper.php
  2. +0 −14 lib/Cake/View/Helper/HtmlHelper.php
13 lib/Cake/View/Helper.php
View
@@ -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
14 lib/Cake/View/Helper/HtmlHelper.php
View
@@ -103,20 +103,6 @@ class HtmlHelper extends AppHelper {
);
/**
- * Format to attribute
- *
- * @var string
- */
- protected $_attributeFormat = '%s="%s"';
-
-/**
- * Format to attribute
- *
- * @var string
- */
- protected $_minimizedAttributeFormat = '%s="%s"';
-
-/**
* Breadcrumbs.
*
* @var array
Please sign in to comment.
Something went wrong with that request. Please try again.