ZF-9167: Add ability to include UI stylesheets included only when UI enabled

Issue Type: Improvement Created: 2010-02-13T11:13:28.000+0000 Last Updated: 2012-11-20T21:37:32.000+0000 Status: Open Fix version(s): Reporter: Aleksey V. Zapparov (ixti) Assignee: None Tags: - ZendX_JQuery

Related issues: Attachments:


Right now the common variant to include jQuery UI CSS is to add: $view->JQuery()->addStylesheet('/path/to/the.css');

When jQuery is enabled - it will be rendered (outputed inside head tag). But as I want to add UI CSS style, it would be better to include it ONLY when UI is enbled.

So I propose to add addUIStylesheet($path) method to add stylesheets which will be outputed only when UI will be enabled.


No comments to display

Have you found an issue?

See the Overview section for more details.


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

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