ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
ilSoapGroupAdministration () | |
addGroup ($sid, $target_id, $grp_xml) | |
updateGroup ($sid, $ref_id, $grp_xml) | |
groupExists ($sid, $title) | |
getGroup ($sid, $ref_id) | |
assignGroupMember ($sid, $group_id, $user_id, $type) | |
excludeGroupMember ($sid, $group_id, $user_id) | |
isAssignedToGroup ($sid, $group_id, $user_id) | |
getGroupsForUser ($sid, $parameters) | |
get groups which belong to a specific user, fullilling the status | |
Public Member Functions inherited from ilSoapAdministration | |
ilSoapAdministration ($use_nusoap=true) | |
initErrorWriter () | |
Overwrite error handler. | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__setMessageCode ($a_code) | |
__getMessageCode () | |
initAuth ($sid) | |
initIlias () | |
__initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
__raiseError ($a_message, $a_code) | |
getNIC ($sid) | |
get client information from current as xml result set | |
isFault ($object) | |
checkObjectAccess ($ref_id, $expected_type, $permission, $returnObject=false) | |
check access for ref id: expected type, permission, return object instance if returnobject is true | |
getInstallationInfoXML () | |
getClientInfoXML ($clientid) |
Data Fields | |
const | MEMBER = 1 |
const | ADMIN = 2 |
const | OWNER = 4 |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSoapAdministration | |
static | return_bytes ($val) |
calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes | |
Protected Attributes inherited from ilSoapAdministration | |
$soap_check = true |
Definition at line 35 of file class.ilSoapGroupAdministration.php.
ilSoapGroupAdministration::addGroup | ( | $sid, | |
$target_id, | |||
$grp_xml | |||
) |
Definition at line 49 of file class.ilSoapGroupAdministration.php.
References $target_id, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapGroupAdministration::assignGroupMember | ( | $sid, | |
$group_id, | |||
$user_id, | |||
$type | |||
) |
Definition at line 197 of file class.ilSoapGroupAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilGroupParticipants\_getInstanceByObjId(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), IL_GRP_ADMIN, IL_GRP_MEMBER, ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapGroupAdministration::excludeGroupMember | ( | $sid, | |
$group_id, | |||
$user_id | |||
) |
Definition at line 267 of file class.ilSoapGroupAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapGroupAdministration::getGroup | ( | $sid, | |
$ref_id | |||
) |
Definition at line 163 of file class.ilSoapGroupAdministration.php.
References $ref_id, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapGroupAdministration::getGroupsForUser | ( | $sid, | |
$parameters | |||
) |
get groups which belong to a specific user, fullilling the status
string | $sid | |
string | $parameters | following xmlresultset, columns (user_id, status with values 1 = "MEMBER", 2 = "TUTOR", 4 = "ADMIN", 8 = "OWNER" and any xor operation e.g. 1 + 4 = 5 = ADMIN and TUTOR, 7 = ADMIN and TUTOR and MEMBER) |
string | XMLResultSet, columns (ref_id, xml, parent_ref_id) |
Definition at line 376 of file class.ilSoapGroupAdministration.php.
References $ref_id, $row, ilUtil\__extractRefId(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_exists(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ADMIN, ilSoapAdministration\checkObjectAccess(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getObjectsForOwner(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), MEMBER, and OWNER.
ilSoapGroupAdministration::groupExists | ( | $sid, | |
$title | |||
) |
Definition at line 144 of file class.ilSoapGroupAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilUtil\groupNameExists(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapGroupAdministration::ilSoapGroupAdministration | ( | ) |
Definition at line 42 of file class.ilSoapGroupAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
ilSoapGroupAdministration::isAssignedToGroup | ( | $sid, | |
$group_id, | |||
$user_id | |||
) |
Definition at line 313 of file class.ilSoapGroupAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilGroupParticipants\_getInstanceByObjId(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapGroupAdministration::updateGroup | ( | $sid, | |
$ref_id, | |||
$grp_xml | |||
) |
Definition at line 88 of file class.ilSoapGroupAdministration.php.
References $ref_id, ilGroupXMLParser\$UPDATE, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), ilObjectFactory\getTypeByRefId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
const ilSoapGroupAdministration::ADMIN = 2 |
Definition at line 38 of file class.ilSoapGroupAdministration.php.
Referenced by getGroupsForUser().
const ilSoapGroupAdministration::MEMBER = 1 |
Definition at line 37 of file class.ilSoapGroupAdministration.php.
Referenced by getGroupsForUser().
const ilSoapGroupAdministration::OWNER = 4 |
Definition at line 39 of file class.ilSoapGroupAdministration.php.
Referenced by getGroupsForUser().