MagicSmoke  $VERSION$
WOServerFormat Class Reference

this class extends the definition of the Wob class ServerFormat, to actually do something. More...

Inheritance diagram for WOServerFormat:
WOServerFormatAbstract WObject

Public Member Functions

 __construct ($lang="")
 constructs the format object for a specific language More...
 
 loadConfig ($file)
 load a configuration file and amend internal state by its definitions More...
 
- Public Member Functions inherited from WOServerFormatAbstract
 __construct ()
 
 add_months ($value)
 
 add_shortmonths ($value)
 
 add_shortweekdays ($value)
 
 add_weekdays ($value)
 
 clear_months ()
 
 clear_shortmonths ()
 
 clear_shortweekdays ()
 
 clear_weekdays ()
 
 getamtext ()
 
 getcurrencysymbol ()
 
 getcurrencysymbolhtml ()
 
 getcurrencysymbolplain ()
 
 getcurrencysymbolpos ()
 
 getdateformat ()
 
 getdatetimeformat ()
 
 getdecimaldot ()
 
 getmoneydecimals ()
 
 getmoneynegative ()
 
 getmoneynegativepos ()
 
 getmoneypositive ()
 
 getmoneypositivepos ()
 
 getmonths ()
 
 getpmtext ()
 
 getshortmonths ()
 
 getshortweekdays ()
 
 getstr_amtext ()
 
 getstr_currencysymbol ()
 
 getstr_currencysymbolhtml ()
 
 getstr_currencysymbolplain ()
 
 getstr_currencysymbolpos ()
 
 getstr_dateformat ()
 
 getstr_datetimeformat ()
 
 getstr_decimaldot ()
 
 getstr_moneydecimals ()
 
 getstr_moneynegative ()
 
 getstr_moneynegativepos ()
 
 getstr_moneypositive ()
 
 getstr_moneypositivepos ()
 
 getstr_pmtext ()
 
 getstr_thousanddigits ()
 
 getstr_thousandseparator ()
 
 getstr_timeformat ()
 
 getstr_timezone ()
 
 getstrlist_months ()
 
 getstrlist_shortmonths ()
 
 getstrlist_shortweekdays ()
 
 getstrlist_weekdays ()
 
 getthousanddigits ()
 
 getthousandseparator ()
 
 gettimeformat ()
 
 gettimezone ()
 
 getweekdays ()
 
 propertyArray ()
 
 setamtext ($value)
 
 setcurrencysymbol ($value)
 
 setcurrencysymbolhtml ($value)
 
 setcurrencysymbolplain ($value)
 
 setcurrencysymbolpos ($value)
 
 setdateformat ($value)
 
 setdatetimeformat ($value)
 
 setdecimaldot ($value)
 
 setmoneydecimals ($value)
 
 setmoneynegative ($value)
 
 setmoneynegativepos ($value)
 
 setmoneypositive ($value)
 
 setmoneypositivepos ($value)
 
 setmonths (array $values)
 
 setpmtext ($value)
 
 setshortmonths (array $values)
 
 setshortweekdays (array $values)
 
 setthousanddigits ($value)
 
 setthousandseparator ($value)
 
 settimeformat ($value)
 
 settimezone ($value)
 
 setweekdays (array $values)
 
 toString ()
 
 toXml ($xml, $elementname="ServerFormat")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array 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
 

Detailed Description

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.

Constructor & Destructor Documentation

WOServerFormat::__construct (   $lang = "")

constructs the format object for a specific language

References $default_language, $template, WOServerFormatAbstract\gettimezone(), loadConfig(), and WOServerFormatAbstract\settimezone().

Member Function Documentation

WOServerFormat::mps2e (   $v)
protected

helper function to convert string money sign position to enum

Referenced by loadConfig().


The documentation for this class was generated from the following file: