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

Public Member Functions

 Ilias3ContentModule ($module_id="", $module_type, $cms_type)
 readData ()
 setPermissions ($access_info, $operations)
 setConnection ($seminar_id)
 unsetConnection ($seminar_id)
 setObjectId ($module_object_id)
 getObjectId ()
 setAllowedOperations ($operation_array)
 isAllowed ($operation)
- Public Member Functions inherited from ContentModule
 ContentModule ($module_id="", $module_type, $cms_type)
 setId ($module_id)
 getId ()
 setCMSType ($module_cms_type)
 getCMSType ()
 getCMSName ()
 setModuleType ($module_type)
 getModuleType ()
 getModuleTypeName ()
 setTitle ($module_title)
 getTitle ()
 setDescription ($module_description)
 getDescription ()
 setAuthors ($module_authors)
 getAuthors ()
 setConnectionType ($is_connected)
 isConnected ()
 getReferenceString ()
 getIcon ()
 isDummy ()
 createDummyForErrormessage ($error="unknown")

Data Fields

 $object_id
- Data Fields inherited from ContentModule
 $id
 $title
 $module_type
 $module_type_name
 $icon_file
 $cms_type
 $cms_name
 $description
 $authors
 $is_connected
 $is_dummy
 $allowed_operations
 $db_class
 $view

Member Function Documentation

getObjectId ( )

get object id

returns object id public

Returns
string object id

Here is the caller graph for this function:

Ilias3ContentModule (   $module_id = "",
  $module_type,
  $cms_type 
)

constructor

init class. public

Parameters
string$module_idmodule-id
string$module_typemodule-type
string$cms_typesystem-type

Here is the call graph for this function:

Here is the caller graph for this function:

isAllowed (   $operation)

get permission-status

returns true, if operation is allowed public

Parameters
string$operationoperation
Returns
boolean allowed

Reimplemented from ContentModule.

Here is the caller graph for this function:

readData ( )

read data

get module data from database. public

Here is the call graph for this function:

Here is the caller graph for this function:

setAllowedOperations (   $operation_array)

set allowed operations

sets allowed operations public

Parameters
array$operation_arrayoperation-ids
setConnection (   $seminar_id)

set connection

sets connection with seminar public

Parameters
string$seminar_idseminar-id
Returns
boolean successful

Reimplemented from ContentModule.

Reimplemented in Ilias4ContentModule.

Here is the call graph for this function:

setObjectId (   $module_object_id)

set object id

sets object id public

Parameters
string$module_object_idobject id

Here is the caller graph for this function:

setPermissions (   $access_info,
  $operations 
)

set permissions

sets permissions for content-module public

Parameters
string$acces_infoaccess-status
array$operationsarray of operations
Returns
boolean successful

Here is the call graph for this function:

Here is the caller graph for this function:

unsetConnection (   $seminar_id)

unset connection

unsets connection with seminar public

Parameters
string$seminar_idseminar-id
Returns
boolean successful

Reimplemented from ContentModule.

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

$object_id

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