Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
Ilias3Soap ($cms) | |
setUserType ($user_type) | |
getSID () | |
call ($method, $params) | |
loadCacheData ($cms) | |
getCachingStatus () | |
setCachingStatus ($bool_value) | |
clearCache () | |
saveCacheData () | |
ParseXML ($data) | |
utf8_decode_array_values ($ar) | |
login () | |
logout () | |
searchObjects ($types, $key, $combination, $user_id="") | |
getObjectByReference ($ref, $user_id="") | |
getObjectByTitle ($key, $type="") | |
getReferenceByTitle ($key, $type="") | |
addObject ($object_data, $ref_id) | |
deleteObject ($reference_id) | |
addReference ($object_id, $ref_id) | |
getTreeChilds ($ref_id, $types="", $user_id="") | |
getOperations () | |
getObjectTreeOperations ($ref_id, $user_id) | |
getUserRoles ($user_id) | |
getLocalRoles ($course_id) | |
addRole ($role_data, $ref_id) | |
addRoleFromTemplate ($role_data, $ref_id, $role_id) | |
deleteUserRoleEntry ($user_id, $role_id) | |
addUserRoleEntry ($user_id, $role_id) | |
grantPermissions ($operations, $role_id, $ref_id) | |
revokePermissions ($role_id, $ref_id) | |
lookupUser ($username) | |
getUser ($user_id) | |
addUser ($user_data, $role_id) | |
updateUser ($user_data) | |
updatePassword ($user_id, $password) | |
deleteUser ($user_id) | |
isMember ($user_id, $course_id) | |
addMember ($user_id, $type, $course_id) | |
addCourse ($course_data, $ref_id) | |
getCourseXML ($course_data) | |
checkReferenceById ($id) | |
Public Member Functions inherited from StudipSoapClient | |
StudipSoapClient ($path) | |
getError () | |
StudipSoapClient ($path) | |
getError () | |
getCorrectedWsdl ($path) |
Data Fields | |
$cms_type | |
$admin_sid | |
$user_sid | |
$user_type | |
$soap_cache | |
Data Fields inherited from StudipSoapClient | |
$soap_client | |
$error |
addCourse | ( | $course_data, | |
$ref_id | |||
) |
add course
adds course public
array | course_data course-data |
string | ref_id target-id |
addMember | ( | $user_id, | |
$type, | |||
$course_id | |||
) |
add course member
adds user to course public
string | user_id user-id |
string | type member-type (Admin, Tutor or Member) |
string | course_id course-id |
addObject | ( | $object_data, | |
$ref_id | |||
) |
add object
adds new ilias-object public
array | object_data object-data |
string | ref_id reference-id |
addReference | ( | $object_id, | |
$ref_id | |||
) |
add reference
add a new reference to an existing ilias-object public
string | object_id source-object-id |
string | ref_id target-id |
addRole | ( | $role_data, | |
$ref_id | |||
) |
add role
adds a new role public
array | role_data data for role-object |
string | ref_id reference-id |
addRoleFromTemplate | ( | $role_data, | |
$ref_id, | |||
$role_id | |||
) |
add role from tremplate
adds a new role and adopts properties of the given role template public
array | role_data data for role-object |
string | ref_id reference-id |
string | role_id role-template-id |
addUser | ( | $user_data, | |
$role_id | |||
) |
add user
adds new user and sets role-id public
array | user_data user-data |
string | role_id global role-id for new user |
Reimplemented in Ilias4Soap.
addUserRoleEntry | ( | $user_id, | |
$role_id | |||
) |
add user role entry
adds a role entry for the given user public
string | user_id user-id |
string | role_id role-id |
call | ( | $method, | |
$params | |||
) |
call soap-function
calls soap-function with given parameters public
string | method method-name |
string | params parameters |
Reimplemented from StudipSoapClient.
checkReferenceById | ( | $id | ) |
check reference by title
gets reference-id by object-title public
string | key keyword |
string | type object-type |
clearCache | ( | ) |
clear cache
clears cache public
deleteObject | ( | $reference_id | ) |
delete object
deletes ilias-object public
string | ref_id reference-id |
deleteUser | ( | $user_id | ) |
delete user
deletes user-account public
string | user_id user-id |
deleteUserRoleEntry | ( | $user_id, | |
$role_id | |||
) |
delete user role entry
deletes a role entry from the given user public
string | user_id user-id |
string | role_id role-id |
getCachingStatus | ( | ) |
get caching status
gets caching-status public
getCourseXML | ( | $course_data | ) |
get course-xml
gets course xml-object for given course-data public
array | course_data course-data |
getLocalRoles | ( | $course_id | ) |
get local roles
gets local roles for given object public
string | course_id object-id |
getObjectByReference | ( | $ref, | |
$user_id = "" |
|||
) |
get object by reference
gets object by reference-id public
ref | reference_id |
string | user_id ilias-user-id |
getObjectByTitle | ( | $key, | |
$type = "" |
|||
) |
get object by title
gets object by title public
string | key keyword |
string | type object-type |
getObjectTreeOperations | ( | $ref_id, | |
$user_id | |||
) |
get object tree operations
gets permissions for object at given tree-node public
string | ref_id reference-id |
string | user_id user-id for permissions |
getOperations | ( | ) |
get operation
gets all ilias operations public
getReferenceByTitle | ( | $key, | |
$type = "" |
|||
) |
get reference by title
gets reference-id by object-title public
string | key keyword |
string | type object-type |
getSID | ( | ) |
get sid
returns soap-session-id public
getTreeChilds | ( | $ref_id, | |
$types = "" , |
|||
$user_id = "" |
|||
) |
get tree childs
gets child-objects of the given tree node public
string | ref_id reference-id |
array | types show only childs with these types |
string | user_id user-id for permissions |
getUser | ( | $user_id | ) |
get user
gets user-data for given user-id public
string | user_id user-id |
getUserRoles | ( | $user_id | ) |
get user roles
gets user roles public
string | user_id user-id |
grantPermissions | ( | $operations, | |
$role_id, | |||
$ref_id | |||
) |
grant permissions
grants permissions for given operations at role-id and ref-id public
array | operations operation-array |
string | role_id role-id |
string | ref_id reference-id |
Ilias3Soap | ( | $cms | ) |
constructor
init class.
string | $cms | system-type |
isMember | ( | $user_id, | |
$course_id | |||
) |
is course member
checks if user is course-member public
string | user_id user-id |
string | course_id course-id |
loadCacheData | ( | $cms | ) |
load cache
load soap-cache public
string | cms cms-type |
login | ( | ) |
login
login to soap-webservice public
logout | ( | ) |
logout
logout from soap-webservice public
lookupUser | ( | $username | ) |
lookup user
gets user-id for given username public
string | username username |
ParseXML | ( | $data | ) |
parse xml
use xml-parser public
string | data xml-data |
revokePermissions | ( | $role_id, | |
$ref_id | |||
) |
revoke permissions
revokes all permissions role-id and ref-id public
string | role_id role-id |
string | ref_id reference-id |
saveCacheData | ( | ) |
save cache
saves soap-cache in session-variable public
searchObjects | ( | $types, | |
$key, | |||
$combination, | |||
$user_id = "" |
|||
) |
search objects
search for ilias-objects public
array | types types |
string | key keyword |
string | combination search-combination |
string | user_id ilias-user-id |
setCachingStatus | ( | $bool_value | ) |
set caching status
sets caching-status public
boolean | bool_value status |
setUserType | ( | $user_type | ) |
set usertype
sets usertype fpr soap-calls public
string | user_type usertype (admin or user) |
updatePassword | ( | $user_id, | |
$password | |||
) |
update password
update password with given string and write it uncrypted to the ilias-database public
string | user_id user-id |
string | password password |
updateUser | ( | $user_data | ) |
update user
update user-data public
array | user_data user-data |
utf8_decode_array_values | ( | $ar | ) |
$admin_sid |
$cms_type |
$soap_cache |
$user_sid |
$user_type |