Issues

ZF-2918: Zend_View_Helper_HeadTitle does not implement prefix and postfix values in toString

Issue Type: Bug Created: 2008-03-18T18:18:50.000+0000 Last Updated: 2008-11-13T14:10:13.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Ralph Schindler (ralph) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_View

Related issues: Attachments:

Description

Zend_View_Helper_HeadTitle does not implement prefix and postfix values in toString

Should be something like:

<pre class="highlight">

    public function toString($indent = null)
    {
        $indent = (null !== $indent)
                ? $this->getWhitespace($indent)
                : $this->getIndent();

        $items = array();
        foreach ($this as $item) {
            $items[] = $this->_escape($item);
        }

        $separator = $this->_escape($this->getSeparator());
        $output = '';
        if ($prefix = $this->getPrefix()) {
            $output .= $prefix;
        }
        $output .= implode($separator, $items);
        if ($postfix = $this->getPostfix()) {
            $output .= $postfix;
        }
        return $indent . '' . $output. '';
    }

Comments

Posted by Wil Sinclair (wil) on 2008-03-25T22:02:49.000+0000

Resetting 'fix version priority' and 'fix version' to be re-evaluated for next release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-05-09T12:17:14.000+0000

Scheduling for next minor release.

Posted by Jon Whitcraft (sidhighwind) on 2008-10-11T04:39:00.000+0000

Fixed in r11863

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:13.000+0000

Changing issues in preparation for the 1.7.0 release.

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