lib/MwbExporter/Model/Base.php
public function translateVars($text, $vars = array())
    {
        return strtr($text, array_merge($this->getParentVars(), $this->getVars(), $vars));
    }
public function translateVars($text, $vars = array())
    {
        return strtr($text, array_merge($this->getParentVars(), $this->getVars(), $vars));
    }
public function translateVars ( $ text , $ vars = array ( ) ) { return strtr ( $ text , array_merge ( $ this -> getParentVars ( ) , $ this -> getVars ( ) , $ vars ) ) ; }
Translate text with object contextual data.

@param string $text  The text to translate
@param array $vars   The overriden variables
@return string
Translate text with object contextual data .