6 require_once(BASE.
"wcmf/lib/model/class.Node.php");
20 parent::Node(
'NMUserRole', $oid);
22 parent::Node($type, $oid);
44 if ($name ==
'fk_user_id') $displayName =
Message::get(
"fk_user_id");
45 if ($name ==
'fk_role_id') $displayName =
Message::get(
"fk_role_id");
54 if ($name ==
'fk_user_id') $description =
Message::get(
"");
55 if ($name ==
'fk_role_id') $description =
Message::get(
"");
106 if ($fkValue != null)
118 return $this->
getParentsEx(null,
'RoleRDB', null, null);
122 return $this->
getParentsEx(null,
'UserRDB', null, null);
136 parent::loadChildren($type, $buildDepth, $forceUpdate);
145 return parent::getChildrenEx($oid, $type, $values, $properties);
154 parent::addChild($child, $addtype);
163 parent::deleteChild($childOID, $reallyDelete);
getChildrenEx($oid, $type, $values, $properties)
get($message, $parameters=null, $domain='', $lang='')
Node is the basic component for building trees (although a Node can have one than more parents)...
getValue($name, $type=null)
getValueDisplayName($name, $type=null)
loadChildren($type, $buildDepth=BUILDDEPTH_SINGLE, $forceUpdate=false)
getParentsEx($oid, $type, $values, $properties, $useRegExp=true)
addChild(&$child, $addtype=ADDCHILD_BACK)
NMUserRoleBase($oid=null, $type=null)
setValue($name, $value, $type=null, $forceSet=false)
getFkRoleId($unconverted=false)
getUnconvertedValue($name, $type=null)
deleteChild($childOID, $reallyDelete=false)
getFkUserId($unconverted=false)
getValueDescription($name, $type=null)