public function setVar($key, $value_escaped)
    {
        $this->initTemplateTranslator();

        $this->setVariable($key, $value_escaped);

        return true;
    }
public function setVar($key, $value_escaped)
    {
        $this->initTemplateTranslator();

        $this->setVariable($key, $value_escaped);

        return true;
    }
public function setVar ( $ key , $ value_escaped ) { $ this -> initTemplateTranslator ( ) ; $ this -> setVariable ( $ key , $ value_escaped ) ; return true ; }
Set the XHTML-escaped value of a variable used in translation key.

You should use it to replace all ${key}s with values in translated strings.

@param string $key           The name of the variable    // key
@param string $value_escaped XHTML markup                \\ value

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE on success, otherwise FALSE

@see PHPTAL_TranslationService::setVar()
Set the XHTML - escaped value of a variable used in translation key .