public static getInstance ( ) : |
||
return | The object instance |
public static function getInstance()
{
if (static::$objInstance === null) {
static::$objInstance = new static();
}
return static::$objInstance;
}
public function replaceInsertTags($strTag) { $flags = explode('|', $strTag); $tag = array_shift($flags); list($strName, $strValue) = explode('::', $tag); if ($strName == 'accountmail') { $objSession = Session::getInstance(); $arrData = $objSession->get('ACCOUNTMAIL_PARAMETERS'); if (isset($arrData[$strValue])) { return $arrData[$strValue]; } } return false; }