ZF-2918: Zend_View_Helper_HeadTitle does not implement prefix and postfix values in toString
Description
Zend_View_Helper_HeadTitle does not implement prefix and postfix values in toString
Should be something like:
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.