MagicSmoke
$VERSION$
|
this class extends the definition of the Wob class ServerFormat, to actually do something. More...
Protected Member Functions | |
mps2e ($v) | |
helper function to convert string money sign position to enum More... | |
![]() | |
toXmlHelper ($xml, $root) | |
![]() | |
__construct () | |
toXmlHelper ($xml, $root) | |
base for serialization More... | |
Additional Inherited Members | |
![]() | |
static | fromString ($txt) |
static | fromXml ($xml, $elem) |
static | validateamtext ($value) |
static | validatecurrencysymbol ($value) |
static | validatecurrencysymbolhtml ($value) |
static | validatecurrencysymbolplain ($value) |
static | validatecurrencysymbolpos ($value) |
static | validatedateformat ($value) |
static | validatedatetimeformat ($value) |
static | validatedecimaldot ($value) |
static | validatemoneydecimals ($value) |
static | validatemoneynegative ($value) |
static | validatemoneynegativepos ($value) |
static | validatemoneypositive ($value) |
static | validatemoneypositivepos ($value) |
static | validatemonths ($value) |
static | validatepmtext ($value) |
static | validateshortmonths ($value) |
static | validateshortweekdays ($value) |
static | validatethousanddigits ($value) |
static | validatethousandseparator ($value) |
static | validatetimeformat ($value) |
static | validatetimezone ($value) |
static | validateweekdays ($value) |
![]() | |
static | elementsByTagName ($root, $tag) |
helper function that returns only the elements directly beneith the one given as $root More... | |
static | fromXmlBoolean ($str) |
helper function for XML'ized objects that transforms XML boolean to PHP boolean More... | |
static | isXmlBoolean ($str) |
helper function for XML'ized objects: it returns whether the string is a valid boolean More... | |
![]() | |
const | NoSign =0 |
const | SignAfterNum =2 |
const | SignAfterSym =4 |
const | SignBeforeNum =1 |
const | SignBeforeSym =3 |
const | SignParen =5 |
![]() | |
static | fromXmlHelper ($data, $xml, $elem) |
![]() | |
static | fromXmlHelper ($data, $xml, $elem) |
base for deserialization More... | |
static | objectToArray ($obj) |
helper function for classy objects that calls getPropertyArray if available More... | |
![]() | |
$prop_amtext =null | |
$prop_currencysymbol =null | |
$prop_currencysymbolhtml =null | |
$prop_currencysymbolplain =null | |
$prop_currencysymbolpos =null | |
$prop_dateformat =null | |
$prop_datetimeformat =null | |
$prop_decimaldot =null | |
$prop_moneydecimals =null | |
$prop_moneynegative =null | |
$prop_moneynegativepos =null | |
$prop_moneypositive =null | |
$prop_moneypositivepos =null | |
$prop_months | |
$prop_pmtext =null | |
$prop_shortmonths | |
$prop_shortweekdays | |
$prop_thousanddigits =null | |
$prop_thousandseparator =null | |
$prop_timeformat =null | |
$prop_timezone =null | |
$prop_weekdays | |
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 $default_language, $template, 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().
|
protected |
helper function to convert string money sign position to enum
Referenced by loadConfig().