public static function replaceInsertTags($strBuffer, $blnCache = true)
{
$objIt = new InsertTags();
return $objIt->replace($strBuffer, $blnCache);
}
/** * Gets the label for a language, optionally replacing insert tags. * * @param string $language * @param bool $replaceInsertTags * * @return string */ public function get($language, $replaceInsertTags = true) { $language = strtolower($language); if (empty($this->map[$language])) { return strtoupper($language); } $value = $this->map[$language]; if ($replaceInsertTags) { $value = Controller::replaceInsertTags($value); } return $value; }