MagicSmoke  $VERSION$
WOFlag Class Reference
Inheritance diagram for WOFlag:
WOFlagAbstract WObject

Static Public Member Functions

static deleteFlag ($trans)
 DeleteFlag transaction. More...
 
static getAll ()
 returns all existing flags More...
 
static getAllTrn ($trans)
 GetValidFlags transaction. More...
 
static setFlagTrn ($trans)
 SetFlag transaction. More...
 
- Static Public Member Functions inherited from WOFlagAbstract
static fromString ($txt)
 
static fromXml ($xml, $elem)
 
static validatedescription ($value)
 
static validateflag ($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...
 

Additional Inherited Members

- Public Member Functions inherited from WOFlagAbstract
 __construct ()
 
 getdescription ()
 
 getflag ()
 
 getstr_description ()
 
 getstr_flag ()
 
 propertyArray ()
 
 setdescription ($value)
 
 setflag ($value)
 
 toString ()
 
 toXml ($xml, $elementname="Flag")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 
- Protected Member Functions inherited from WOFlagAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WOFlagAbstract
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 WOFlagAbstract
 $prop_description =null
 
 $prop_flag =null
 

Member Function Documentation

static WOFlag::deleteFlag (   $trans)
static

DeleteFlag transaction.

References $db.

Referenced by WTrDeleteFlag\handleRequest().

static WOFlag::getAll ( )
static

returns all existing flags

References $db, and WOFlagAbstract\setflag().

Referenced by getAllTrn(), MachineUser\setRoleFlags(), and MachineUser\setUserFlags().

static WOFlag::getAllTrn (   $trans)
static

GetValidFlags transaction.

References getAll().

Referenced by WTrGetValidFlags\handleRequest().

static WOFlag::setFlagTrn (   $trans)
static

SetFlag transaction.

References $db.

Referenced by WTrSetFlag\handleRequest().


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