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... | |
Protected Member Functions inherited from WOServerFormatAbstract | |
toXmlHelper ($xml, $root) | |
Protected Member Functions inherited from WObject | |
__construct () | |
toXmlHelper ($xml, $root) | |
base for serialization More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WOServerFormatAbstract | |
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 Public Member Functions inherited from WObject | |
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... | |
Public Attributes inherited from WOServerFormatAbstract | |
const | NoSign =0 |
const | SignAfterNum =2 |
const | SignAfterSym =4 |
const | SignBeforeNum =1 |
const | SignBeforeSym =3 |
const | SignParen =5 |
Static Protected Member Functions inherited from WOServerFormatAbstract | |
static | fromXmlHelper ($data, $xml, $elem) |
Static Protected Member Functions inherited from WObject | |
static | fromXmlHelper ($data, $xml, $elem) |
base for deserialization More... | |
static | objectToArray ($obj) |
helper function for classy objects that calls getPropertyArray if available More... | |
Protected Attributes inherited from WOServerFormatAbstract | |
$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().