ZF-2323: Create HeadStylesheet as a new Zend_View helper

Issue Type: New Feature Created: 2007-12-18T07:48:44.000+0000 Last Updated: 2012-05-08T08:02:53.000+0000 Status: Closed Fix version(s): - 1.12.0 (27/Aug/12)

Reporter: Simon Mundy (peptolab) Assignee: Frank Brückner (frosch) Tags: - Zend_View

Related issues: Attachments:


I'd like to request a new helper allowing atomically built

It would operate similar to this example:-


<pre class="highlight">
<? $this->headStylesheet()->append('#heading1 { background-image: url(/img/heading/member-foo.png) }') ?>
<? $this->headStylesheet()->append('#heading2 { background-image: url(/img/heading/member-bar.png) }') ?>
<? $this->headStylesheet()->append('#heading3 { background-image: url(/img/heading/member-other.png) }') ?>


<pre class="highlight">
<?= $this->headStylesheet() ?>


<pre class="highlight">


Posted by Joó Ádám (ceriak) on 2007-12-22T06:04:24.000+0000

As a second parameter the append() method could recieve the media type, so it could group the declarations by them.

Posted by Matthew Weier O'Phinney (matthew) on 2008-01-29T14:14:08.000+0000

Assigning to Ralph.

Posted by Ralph Schindler (ralph) on 2009-01-10T11:00:31.000+0000

Matthew do you agree with this?

Posted by Frank Brückner (frosch) on 2012-05-08T08:02:53.000+0000

We have a view helper for this: HeadStyle Helper.

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.