set($title); } elseif ($setType == Zend_View_Helper_Placeholder_Container_Abstract::PREPEND) { $this->prepend($title); } else { $this->append($title); } } return $this; } /** * Turn helper into string * * @param string|null $indent * @return string */ 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()); return $indent . '' . implode($separator, $items) . ''; } /** * Cast to string * * @return string */ public function __toString() { return $this->toString(); } }