Issues

ZF-12344: clearStylesheet method missing (inconsistency)

Issue Type: Patch Created: 2012-07-23T17:17:09.000+0000 Last Updated: 2012-07-24T07:14:22.000+0000 Status: Closed Fix version(s): Reporter: Andras Gyomrey (andras) Assignee: Frank Br├╝ckner (frosch) Tags: - ZendX_JQuery

Related issues: - ZF-11592

Attachments:

Description

Following methods exist

addJavascript getJavascript clearJavascript

addJavascriptFile getJavascriptFiles clearJavascriptFiles

addStylesheet getStylesheets MISSING clearStylesheets

<pre class="literal">
===================================================================
--- 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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts