wCMF
3.6
|
Public Member Functions | |
RoleRDBBase ($oid=null, $type=null) | |
getObjectDisplayName () | |
getObjectDescription () | |
getValueDisplayName ($name, $type=null) | |
getValueDescription ($name, $type=null) | |
isManyToManyObject () | |
getId ($unconverted=false) | |
setId ($id) | |
getName ($unconverted=false) | |
setName ($name) | |
getNMUserRoleList () | |
getNMUserRoleChildren () | |
getUserRDBList () | |
getUserRDBChildren () | |
loadChildren ($type, $buildDepth=BUILDDEPTH_SINGLE, $forceUpdate=false) | |
getChildrenEx ($oid, $type, $values, $properties) | |
addChild (&$child, $addtype=ADDCHILD_BACK) | |
deleteChild ($childOID, $reallyDelete=false) | |
![]() | |
Role ($oid=null, $type='Role') | |
setName ($name) | |
getName () | |
![]() | |
Node ($type, $oid=null) | |
getNumChildren ($memOnly=true, $type=null) | |
addChild (&$child, $addtype=ADDCHILD_BACK) | |
updateParent (&$parent, $recursive=true) | |
deleteChild ($childOID, $reallyDelete=false) | |
loadChildren ($type, $buildDepth=BUILDDEPTH_SINGLE, $forceUpdate=false) | |
& | getFirstChild ($type, $values, $properties, $useRegExp=true) |
getChildren () | |
getChildrenEx ($oid, $type, $values, $properties, $useRegExp=true) | |
sortChildren ($criteria, $recursive=false, $changeSortkey=false, $sortFunction='') | |
sort (&$nodeList, $criteria, $recursive=false, $changeSortkey=false, $sortFunction='') | |
filter (&$nodeList, $oid, $type, $values, $properties, $useRegExp=true) | |
getNextSibling () | |
getPreviousSibling () | |
loadParents ($type, $forceUpdate=false) | |
getNumParents ($memOnly=true, $type=null) | |
& | getParent () |
& | getFirstParent ($type, $values, $properties, $useRegExp=true) |
& | getParents () |
getParentsEx ($oid, $type, $values, $properties, $useRegExp=true) | |
getDepth () | |
getPath () | |
acceptVisitor (&$visitor) | |
setState ($state, $recursive=true) | |
removeDuplicateOidsWithoutRole ($oids) | |
getDisplayValue ($useDisplayType=false) | |
getDisplayValues ($useDisplayType=false) | |
toString ($verbose=false) | |
![]() | |
PersistentObject ($type, $oid=null) | |
getType () | |
setType ($type) | |
getBaseType () | |
getOID () | |
getBaseOID () | |
setOID ($oid) | |
getDBID () | |
setDBID ($id) | |
& | getMapper () |
& | getDataConverter () |
save () | |
delete ($recursive=true) | |
getState () | |
setState ($state, $recursive=true) | |
setImmutable () | |
getLock () | |
& | duplicate () |
copyValues (&$object, $dataTypes=array(), $copyPkValues=true) | |
copyValueIntern (&$node, $valueName, $dataType, &$targetNode, $dataTypes, $valuesToIgnore) | |
clearValues ($dataTypes=array()) | |
clearValueIntern (&$node, $valueName, $dataType, $dataTypes) | |
updateOID () | |
afterCreate () | |
beforeInsert () | |
afterInsert () | |
afterLoad () | |
beforeUpdate () | |
afterUpdate () | |
beforeDelete () | |
afterDelete () | |
hasValue ($name, $type=null) | |
getValue ($name, $type=null) | |
removeValue ($name, $type=null) | |
getUnconvertedValue ($name, $type=null) | |
getConvertedValue ($name, $type=null) | |
getValueTypes ($name) | |
validateValues () | |
validateValueIntern (&$node, $valueName, $dataType, &$errorMsg) | |
validateValue ($name, $value, $type=null) | |
validateValueAgainstRestrictions ($name, $value, $type=null) | |
setValue ($name, $value, $type=null, $forceSet=false) | |
getValueProperties ($name, $type=null) | |
setValueProperties ($name, $properties, $type=null) | |
getValueProperty ($name, $property, $type=null) | |
setValueProperty ($name, $property, $value, $type=null) | |
getValueNames ($type=null) | |
getDataTypes () | |
getProperty ($name) | |
setProperty ($name, $value) | |
getPropertyNames () | |
addChangeListener (&$listener) | |
removeChangeListener (&$listener) | |
propagateValueChange ($name, $type, $oldValue, $newValue) | |
propagatePropertyChange ($name, $oldValue, $newValue) | |
propagateStateChange ($oldValue, $newValue) | |
getObjectDisplayName () | |
getObjectDescription () | |
getDisplayValue () | |
getValueDisplayName ($name, $type=null) | |
getValueDescription ($name, $type=null) | |
toString ($verbose=false) | |
isIndexInSearch () | |
![]() | |
getClassDefinitionFiles () | |
loadFromSession () | |
saveToSession () | |
Additional Inherited Members | |
![]() | |
$_children = array() | |
$_parents = array() | |
$_depth = -1 | |
$_path = '' | |
![]() | |
$_oid = null | |
$_type = '' | |
$_data = array() | |
$_properties = array() | |
$_state = STATE_CLEAN | |
$_isImmutable = false | |
$_changeListeners = array() | |
Definition at line 15 of file class.RoleRDBBase.php.
RoleRDBBase::RoleRDBBase | ( | $oid = null , |
|
$type = null |
|||
) |
Definition at line 17 of file class.RoleRDBBase.php.
RoleRDBBase::getObjectDisplayName | ( | ) |
Definition at line 27 of file class.RoleRDBBase.php.
References Message\get().
RoleRDBBase::getObjectDescription | ( | ) |
Definition at line 34 of file class.RoleRDBBase.php.
References Message\get().
RoleRDBBase::getValueDisplayName | ( | $name, | |
$type = null |
|||
) |
Definition at line 41 of file class.RoleRDBBase.php.
References Message\get().
RoleRDBBase::getValueDescription | ( | $name, | |
$type = null |
|||
) |
Definition at line 51 of file class.RoleRDBBase.php.
References Message\get().
RoleRDBBase::isManyToManyObject | ( | ) |
See if the node is an association object, that implements a many to many relation
Definition at line 61 of file class.RoleRDBBase.php.
RoleRDBBase::getId | ( | $unconverted = false | ) |
Getter/Setter
Definition at line 68 of file class.RoleRDBBase.php.
References DATATYPE_IGNORE, PersistentObject\getUnconvertedValue(), and PersistentObject\getValue().
RoleRDBBase::setId | ( | $id | ) |
Definition at line 75 of file class.RoleRDBBase.php.
References DATATYPE_IGNORE, and PersistentObject\setValue().
RoleRDBBase::getName | ( | $unconverted = false | ) |
Definition at line 79 of file class.RoleRDBBase.php.
References DATATYPE_ATTRIBUTE, PersistentObject\getUnconvertedValue(), and PersistentObject\getValue().
RoleRDBBase::setName | ( | $name | ) |
Definition at line 86 of file class.RoleRDBBase.php.
References DATATYPE_ATTRIBUTE, and PersistentObject\setValue().
RoleRDBBase::getNMUserRoleList | ( | ) |
Definition at line 93 of file class.RoleRDBBase.php.
References getNMUserRoleChildren(), WCMFException\getStackTrace(), and Log\warn().
RoleRDBBase::getNMUserRoleChildren | ( | ) |
Definition at line 98 of file class.RoleRDBBase.php.
References getChildrenEx(), and PersistentObject\getDBID().
Referenced by getNMUserRoleList().
RoleRDBBase::getUserRDBList | ( | ) |
Definition at line 105 of file class.RoleRDBBase.php.
References WCMFException\getStackTrace(), getUserRDBChildren(), and Log\warn().
RoleRDBBase::getUserRDBChildren | ( | ) |
Definition at line 110 of file class.RoleRDBBase.php.
References getChildrenEx().
Referenced by getUserRDBList().
RoleRDBBase::loadChildren | ( | $type, | |
$buildDepth = BUILDDEPTH_SINGLE , |
|||
$forceUpdate = false |
|||
) |
Node class overrides
Definition at line 124 of file class.RoleRDBBase.php.
References BUILDDEPTH_SINGLE, PersistentObject\getDBID(), PersistenceFacade\getInstance(), PersistenceFacade\isValidOID(), and STATE_CLEAN.
RoleRDBBase::getChildrenEx | ( | $oid, | |
$type, | |||
$values, | |||
$properties | |||
) |
Definition at line 157 of file class.RoleRDBBase.php.
References BUILDDEPTH_SINGLE, Node\filter(), PersistentObject\getDBID(), PersistenceFacade\getInstance(), PersistenceFacade\getOIDParameter(), and PersistentObject\getProperty().
Referenced by getNMUserRoleChildren(), and getUserRDBChildren().
RoleRDBBase::addChild | ( | & | $child, |
$addtype = ADDCHILD_BACK |
|||
) |
Definition at line 195 of file class.RoleRDBBase.php.
References PersistentObject\getDBID(), and PersistenceFacade\getInstance().
RoleRDBBase::deleteChild | ( | $childOID, | |
$reallyDelete = false |
|||
) |
Definition at line 223 of file class.RoleRDBBase.php.
References PersistenceFacade\composeOID(), PersistentObject\getDBID(), PersistenceFacade\getOIDParameter(), and PersistenceFacade\isValidOID().