Public Member Functions | |
__construct () | |
add_rights ($value) | |
clear_rights () | |
getdescription () | |
getflags () | |
getname () | |
getrights () | |
getstr_description () | |
getstr_flags () | |
getstr_name () | |
getstrlist_rights () | |
propertyArray () | |
base for property array | |
setdescription ($value) | |
setflags ($value) | |
setname ($value) | |
setrights (array $values) | |
toString () | |
toTablerole (&$table) | |
toXml ($xml, $elementname="Role") | |
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) |
Protected Member Functions | |
toXmlHelper ($xml, $root) | |
base for serialization | |
Static Protected Member Functions | |
static | fromXmlHelper ($data, $xml, $elem) |
base for deserialization | |
Protected Attributes | |
$prop_description = null | |
$prop_flags = null | |
$prop_name = null | |
$prop_rights |
WORoleAbstract::__construct | ( | ) |
Reimplemented from WObject.
WORoleAbstract::add_rights | ( | $ | value | ) |
WORoleAbstract::clear_rights | ( | ) |
static WORoleAbstract::fromString | ( | $ | txt | ) | [static] |
References fromXml(), and translate().
static WORoleAbstract::fromTableArrayrole | ( | array $ | table | ) | [static] |
Referenced by WTrGetAllRoles::handleRequest().
static WORoleAbstract::fromTablerole | ( | $ | table | ) | [static] |
Referenced by WTrGetRole::handleRequest().
static WORoleAbstract::fromXml | ( | $ | xml, | |
$ | elem | |||
) | [static] |
References fromXmlHelper().
Referenced by fromString().
static WORoleAbstract::fromXmlHelper | ( | $ | data, | |
$ | xml, | |||
$ | elem | |||
) | [static, protected] |
base for deserialization
Reimplemented from WObject.
References WObject::elementsByTagName().
Referenced by fromXml().
WORoleAbstract::getdescription | ( | ) |
Referenced by toXmlHelper().
WORoleAbstract::getflags | ( | ) |
Referenced by toXmlHelper().
WORoleAbstract::getname | ( | ) |
Referenced by toXmlHelper().
WORoleAbstract::getrights | ( | ) |
WORoleAbstract::getstr_description | ( | ) |
Referenced by toXmlHelper().
WORoleAbstract::getstr_flags | ( | ) |
Referenced by toXmlHelper().
WORoleAbstract::getstr_name | ( | ) |
Referenced by toXmlHelper().
WORoleAbstract::getstrlist_rights | ( | ) |
Referenced by toXmlHelper().
WORoleAbstract::propertyArray | ( | ) |
base for property array
Reimplemented from WObject.
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] |
base for serialization
Reimplemented from WObject.
References getdescription(), getflags(), getname(), getstr_description(), getstr_flags(), getstr_name(), getstrlist_rights(), and xq().
Referenced by toXml().
static WORoleAbstract::validatedescription | ( | $ | value | ) | [static] |
static WORoleAbstract::validateflags | ( | $ | value | ) | [static] |
static WORoleAbstract::validatename | ( | $ | value | ) | [static] |
static WORoleAbstract::validaterights | ( | $ | value | ) | [static] |
WORoleAbstract::$prop_description = null [protected] |
WORoleAbstract::$prop_flags = null [protected] |
WORoleAbstract::$prop_name = null [protected] |
WORoleAbstract::$prop_rights [protected] |