MagicSmoke  $VERSION$
WORoleAbstract Class Reference
Inheritance diagram for WORoleAbstract:
WObject WORole

Public Member Functions

 __construct ()
 
 add_rights ($value)
 
 clear_rights ()
 
 getdescription ()
 
 getflags ()
 
 getname ()
 
 getrights ()
 
 getstr_description ()
 
 getstr_flags ()
 
 getstr_name ()
 
 getstrlist_rights ()
 
 propertyArray ()
 
 setdescription ($value)
 
 setflags ($value)
 
 setname ($value)
 
 setrights (array $values)
 
 toString ()
 
 toTablerole (&$table)
 
 toXml ($xml, $elementname="Role")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static fromString ($txt)
 
static fromTableArrayrole (array $table)
 
static fromTablerole ($table)
 
static fromXml ($xml, $elem)
 
static validatedescription ($value)
 
static validateflags ($value)
 
static validatename ($value)
 
static validaterights ($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...
 

Protected Member Functions

 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 

Static Protected Member Functions

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

 $prop_description =null
 
 $prop_flags =null
 
 $prop_name =null
 
 $prop_rights
 

Constructor & Destructor Documentation

WORoleAbstract::__construct ( )

Member Function Documentation

WORoleAbstract::add_rights (   $value)
WORoleAbstract::clear_rights ( )
static WORoleAbstract::fromString (   $txt)
static

References translate().

static WORoleAbstract::fromTableArrayrole ( array  $table)
static

References $i.

Referenced by WTrGetAllRoles\handleRequest().

static WORoleAbstract::fromTablerole (   $table)
static
static WORoleAbstract::fromXml (   $xml,
  $elem 
)
static
static WORoleAbstract::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WORoleAbstract::getdescription ( )

References $prop_description.

Referenced by toXmlHelper().

WORoleAbstract::getflags ( )

References $prop_flags.

Referenced by toXmlHelper().

WORoleAbstract::getname ( )

References $prop_name.

Referenced by toXmlHelper().

WORoleAbstract::getrights ( )

References $prop_rights.

WORoleAbstract::getstr_description ( )

References $prop_description.

Referenced by toXmlHelper().

WORoleAbstract::getstr_flags ( )

References $prop_flags.

Referenced by toXmlHelper().

WORoleAbstract::getstr_name ( )

References $prop_name.

Referenced by toXmlHelper().

WORoleAbstract::getstrlist_rights ( )

References $prop_rights.

Referenced by toXmlHelper().

WORoleAbstract::propertyArray ( )
WORoleAbstract::setdescription (   $value)
WORoleAbstract::setflags (   $value)
WORoleAbstract::setname (   $value)
WORoleAbstract::setrights ( array  $values)
WORoleAbstract::toString ( )

References toXml().

WORoleAbstract::toTablerole ( $table)
WORoleAbstract::toXml (   $xml,
  $elementname = "Role" 
)

References toXmlHelper().

Referenced by toString().

WORoleAbstract::toXmlHelper (   $xml,
  $root 
)
protected
static WORoleAbstract::validatedescription (   $value)
static
static WORoleAbstract::validateflags (   $value)
static
static WORoleAbstract::validatename (   $value)
static
static WORoleAbstract::validaterights (   $value)
static

Member Data Documentation

WORoleAbstract::$prop_description =null
protected
WORoleAbstract::$prop_flags =null
protected

Referenced by getflags(), getstr_flags(), and toTablerole().

WORoleAbstract::$prop_name =null
protected

Referenced by getname(), getstr_name(), and toTablerole().

WORoleAbstract::$prop_rights
protected

Referenced by getrights(), and getstrlist_rights().


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