Horde_Template::setTemplate PHP Method

setTemplate() public method

Set the template contents to a string.
public setTemplate ( string $template )
$template string The template text.
    public function setTemplate($template)
    {
        $this->_template = $template;
        $this->_parse();
        $this->_templateFile = self::TEMPLATE_STRING;
    }