Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
Ilias3Soap Class Reference
Inheritance diagram for Ilias3Soap:
Inheritance graph
Collaboration diagram for Ilias3Soap:
Collaboration graph

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

Member Function Documentation

addCourse (   $course_data,
  $ref_id 
)

add course

adds course public

Parameters
arraycourse_data course-data
stringref_id target-id
Returns
string course-id

Here is the call graph for this function:

addMember (   $user_id,
  $type,
  $course_id 
)

add course member

adds user to course public

Parameters
stringuser_id user-id
stringtype member-type (Admin, Tutor or Member)
stringcourse_id course-id
Returns
boolean result

Here is the call graph for this function:

addObject (   $object_data,
  $ref_id 
)

add object

adds new ilias-object public

Parameters
arrayobject_data object-data
stringref_id reference-id
Returns
string result

Here is the call graph for this function:

addReference (   $object_id,
  $ref_id 
)

add reference

add a new reference to an existing ilias-object public

Parameters
stringobject_id source-object-id
stringref_id target-id
Returns
string created reference-id

Here is the call graph for this function:

addRole (   $role_data,
  $ref_id 
)

add role

adds a new role public

Parameters
arrayrole_data data for role-object
stringref_id reference-id
Returns
string role-id

Here is the call graph for this function:

addRoleFromTemplate (   $role_data,
  $ref_id,
  $role_id 
)

add role from tremplate

adds a new role and adopts properties of the given role template public

Parameters
arrayrole_data data for role-object
stringref_id reference-id
stringrole_id role-template-id
Returns
string role-id

Here is the call graph for this function:

addUser (   $user_data,
  $role_id 
)

add user

adds new user and sets role-id public

Parameters
arrayuser_data user-data
stringrole_id global role-id for new user
Returns
string user-id

Reimplemented in Ilias4Soap.

Here is the call graph for this function:

addUserRoleEntry (   $user_id,
  $role_id 
)

add user role entry

adds a role entry for the given user public

Parameters
stringuser_id user-id
stringrole_id role-id
Returns
boolean result

Here is the call graph for this function:

call (   $method,
  $params 
)

call soap-function

calls soap-function with given parameters public

Parameters
stringmethod method-name
stringparams parameters
Returns
mixed result

Reimplemented from StudipSoapClient.

Here is the call graph for this function:

Here is the caller graph for this function:

checkReferenceById (   $id)

check reference by title

gets reference-id by object-title public

Parameters
stringkey keyword
stringtype object-type
Returns
string reference-id

Here is the call graph for this function:

clearCache ( )

clear cache

clears cache public

deleteObject (   $reference_id)

delete object

deletes ilias-object public

Parameters
stringref_id reference-id
Returns
boolean result

Here is the call graph for this function:

deleteUser (   $user_id)

delete user

deletes user-account public

Parameters
stringuser_id user-id
Returns
string result

Here is the call graph for this function:

deleteUserRoleEntry (   $user_id,
  $role_id 
)

delete user role entry

deletes a role entry from the given user public

Parameters
stringuser_id user-id
stringrole_id role-id
Returns
boolean result

Here is the call graph for this function:

getCachingStatus ( )

get caching status

gets caching-status public

Returns
boolean status
getCourseXML (   $course_data)

get course-xml

gets course xml-object for given course-data public

Parameters
arraycourse_data course-data
Returns
string course-xml

Here is the caller graph for this function:

getLocalRoles (   $course_id)

get local roles

gets local roles for given object public

Parameters
stringcourse_id object-id
Returns
array role-objects

Here is the call graph for this function:

getObjectByReference (   $ref,
  $user_id = "" 
)

get object by reference

gets object by reference-id public

Parameters
refreference_id
stringuser_id ilias-user-id
Returns
array object

Here is the call graph for this function:

getObjectByTitle (   $key,
  $type = "" 
)

get object by title

gets object by title public

Parameters
stringkey keyword
stringtype object-type
Returns
array object

Here is the call graph for this function:

getObjectTreeOperations (   $ref_id,
  $user_id 
)

get object tree operations

gets permissions for object at given tree-node public

Parameters
stringref_id reference-id
stringuser_id user-id for permissions
Returns
array operation-ids

Here is the call graph for this function:

getOperations ( )

get operation

gets all ilias operations public

Returns
array operations

Here is the call graph for this function:

getReferenceByTitle (   $key,
  $type = "" 
)

get reference by title

gets reference-id by object-title public

Parameters
stringkey keyword
stringtype object-type
Returns
string reference-id

Here is the call graph for this function:

getSID ( )

get sid

returns soap-session-id public

Returns
string session-id

Here is the call graph for this function:

Here is the caller graph for this function:

getTreeChilds (   $ref_id,
  $types = "",
  $user_id = "" 
)

get tree childs

gets child-objects of the given tree node public

Parameters
stringref_id reference-id
arraytypes show only childs with these types
stringuser_id user-id for permissions
Returns
array objects

Here is the call graph for this function:

getUser (   $user_id)

get user

gets user-data for given user-id public

Parameters
stringuser_id user-id
Returns
array user-data

Here is the call graph for this function:

getUserRoles (   $user_id)

get user roles

gets user roles public

Parameters
stringuser_id user-id
Returns
array role-ids

Here is the call graph for this function:

grantPermissions (   $operations,
  $role_id,
  $ref_id 
)

grant permissions

grants permissions for given operations at role-id and ref-id public

Parameters
arrayoperations operation-array
stringrole_id role-id
stringref_id reference-id
Returns
boolean result

Here is the call graph for this function:

Ilias3Soap (   $cms)

constructor

init class.

Parameters
string$cmssystem-type

Here is the call graph for this function:

Here is the caller graph for this function:

isMember (   $user_id,
  $course_id 
)

is course member

checks if user is course-member public

Parameters
stringuser_id user-id
stringcourse_id course-id
Returns
boolean result

Here is the call graph for this function:

loadCacheData (   $cms)

load cache

load soap-cache public

Parameters
stringcms cms-type

Here is the caller graph for this function:

login ( )

login

login to soap-webservice public

Returns
string result

Here is the call graph for this function:

Here is the caller graph for this function:

logout ( )

logout

logout from soap-webservice public

Returns
boolean result

Here is the call graph for this function:

lookupUser (   $username)

lookup user

gets user-id for given username public

Parameters
stringusername username
Returns
string user-id

Here is the call graph for this function:

ParseXML (   $data)

parse xml

use xml-parser public

Parameters
stringdata xml-data
Returns
array object

Here is the call graph for this function:

revokePermissions (   $role_id,
  $ref_id 
)

revoke permissions

revokes all permissions role-id and ref-id public

Parameters
stringrole_id role-id
stringref_id reference-id
Returns
boolean result

Here is the call graph for this function:

saveCacheData ( )

save cache

saves soap-cache in session-variable public

searchObjects (   $types,
  $key,
  $combination,
  $user_id = "" 
)

search objects

search for ilias-objects public

Parameters
arraytypes types
stringkey keyword
stringcombination search-combination
stringuser_id ilias-user-id
Returns
array objects

Here is the call graph for this function:

setCachingStatus (   $bool_value)

set caching status

sets caching-status public

Parameters
booleanbool_value status
setUserType (   $user_type)

set usertype

sets usertype fpr soap-calls public

Parameters
stringuser_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

Parameters
stringuser_id user-id
stringpassword password
Returns
string result

Here is the call graph for this function:

updateUser (   $user_data)

update user

update user-data public

Parameters
arrayuser_data user-data
Returns
string result

Here is the call graph for this function:

utf8_decode_array_values (   $ar)

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

$admin_sid
$cms_type
$soap_cache
$user_sid
$user_type

The documentation for this class was generated from the following file: