ZF-12344: clearStylesheet method missing (inconsistency)

Description

Following methods exist

addJavascript getJavascript clearJavascript

addJavascriptFile getJavascriptFiles clearJavascriptFiles

addStylesheet getStylesheets MISSING clearStylesheets

===================================================================
--- ZendX/JQuery/View/Helper/JQuery/Container.php   (revision 25022)
+++ ZendX/JQuery/View/Helper/JQuery/Container.php   (working copy)
@@ -573,6 +573,17 @@
     }
 
     /**
+     * Clear all currently registered Stylesheets.
+     *
+     * @return ZendX_JQuery_View_Helper_JQuery_Container
+     */
+    public function clearStylesheets()
+    {
+        $this->_stylesheets = array();
+        return $this;
+    }
+
+    /**
      * Retrieve registered stylesheets
      *
      * @return array

Comments

No comments to display