ZF-8196: Adding internal stylesheets (from dojox for example)

Issue Type: New Feature Created: 2009-10-31T17:41:58.000+0000 Last Updated: 2012-11-20T20:53:25.000+0000 Status: Closed Fix version(s): Reporter: Georgy Turevich (georgy) Assignee: None Tags: - Zend_Dojo

Related issues: - ZF-7710



Now in Zend_Dojo_View_Helper_Dojo_Container we may adding stylesheet by absolute path.

<pre class="highlight">
// If we use CDN
$this->dojo()->addStylesheet('<a href="">…</a>');

// If we use local copy

I think, it will be more useful if we will have some metho addInternalStylesheet:

<pre class="highlight">

Implementation of this method is very simple:

<pre class="highlight">
    public function addInternalStylesheet($path)
        if ($this->useCdn()) {
            $base = $this->getCdnBase()
                  . $this->getCdnVersion();
        } else {
            $base = $this->_getLocalRelativePath();

        $this->addStylesheet($base . '/' . $path);

        return $this;


Posted by Georgy Turevich (georgy) on 2009-10-31T17:46:54.000+0000

Please, delete "Dependency on ZF-7710"

Posted by Rob Allen (rob) on 2012-11-20T20:53:25.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

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.