this class extends the definition of the Wob class ServerFormat, to actually do something. More...
Public Member Functions | |
__construct ($lang="") | |
constructs the format object for a specific language | |
loadConfig ($file) | |
load a configuration file and amend internal state by its definitions | |
Protected Member Functions | |
mps2e ($v) | |
helper function to convert string money sign position to enum |
this class extends the definition of the Wob class ServerFormat, to actually do something.
It is used on the other side by the client to configure LocalFormat and by the Web UI to configure LanguageManager.
WOServerFormat::__construct | ( | $ | lang = "" |
) |
constructs the format object for a specific language
References $template, WOServerFormatAbstract::__construct(), WOServerFormatAbstract::gettimezone(), loadConfig(), and WOServerFormatAbstract::settimezone().
WOServerFormat::loadConfig | ( | $ | file | ) |
load a configuration file and amend internal state by its definitions
References mps2e(), WOServerFormatAbstract::setamtext(), WOServerFormatAbstract::setcurrencysymbol(), WOServerFormatAbstract::setcurrencysymbolhtml(), WOServerFormatAbstract::setcurrencysymbolplain(), WOServerFormatAbstract::setcurrencysymbolpos(), WOServerFormatAbstract::setdateformat(), WOServerFormatAbstract::setdatetimeformat(), WOServerFormatAbstract::setdecimaldot(), WOServerFormatAbstract::setmoneydecimals(), WOServerFormatAbstract::setmoneynegative(), WOServerFormatAbstract::setmoneynegativepos(), WOServerFormatAbstract::setmoneypositive(), WOServerFormatAbstract::setmoneypositivepos(), WOServerFormatAbstract::setmonths(), WOServerFormatAbstract::setpmtext(), WOServerFormatAbstract::setshortmonths(), WOServerFormatAbstract::setshortweekdays(), WOServerFormatAbstract::setthousanddigits(), WOServerFormatAbstract::setthousandseparator(), WOServerFormatAbstract::settimeformat(), WOServerFormatAbstract::settimezone(), and WOServerFormatAbstract::setweekdays().
Referenced by __construct().
WOServerFormat::mps2e | ( | $ | v | ) | [protected] |
helper function to convert string money sign position to enum
Referenced by loadConfig().