public getEmailCharset ( ) : string | ||
Результат | string | The preferred charset for outgoing mails based on the user's preferences and the current language. |
public function getEmailCharset()
{
if (isset($GLOBALS['prefs']) && ($charset = $GLOBALS['prefs']->getValue('sending_charset'))) {
return $charset;
}
return ($charset = $this->nlsconfig->curr_emails) ? $charset : $this->getLanguageCharset();
}