57 function import($doc,
$tx)
75 trace(
"MenuManager: del_role $del_role", 3);
91 if (!$flags)
return true;
92 $flags = explode(
",", $flags);
94 foreach($flags as $flag)
96 if (startsWith($flag,
"!"))
98 $flag = substr($flag, 1);
109 $mgr->upgrade($version);
static using()
Import the datamodels, views and manifest for the specified component(s).
MenuSerializationHandler()
static deleteRoleFromString(&$items, $del_role, $field="")
static serialize($class, $constraint="")
Serializes the specified DataItems to XML.
registerHandler($component, $title, $handler)
Registers a serialization handler for a component.
static unserialize($class, $doc, $tx, $save=true)
Instantiates DataItems from the supplied XML document and stores them in the database.