Stud.IP  6.0
Ilias3ContentModule Class Reference
Inheritance diagram for Ilias3ContentModule:
ContentModule Ilias4ContentModule Ilias5ContentModule

Public Member Functions

 __construct ($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
 readData ()
 
 __construct ($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 ()
 
 setConnection ($seminar_id)
 
 unsetConnection ($seminar_id)
 
 setConnectionType ($is_connected)
 
 isConnected ()
 
 getReferenceString ()
 
 getIcon ()
 
 isDummy ()
 
 createDummyForErrormessage ($error="unknown")
 
 isAllowed ($operation)
 

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
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $module_id,
  $module_type,
  $cms_type 
)

constructor

init class. public

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

Member Function Documentation

◆ getObjectId()

getObjectId ( )

get object id

returns object id public

Returns
string object id

◆ isAllowed()

isAllowed (   $operation)

get permission-status

returns true, if operation is allowed public

Parameters
string$operationoperation
Returns
boolean allowed

◆ readData()

readData ( )

read data

get module data from database. public

◆ setAllowedOperations()

setAllowedOperations (   $operation_array)

set allowed operations

sets allowed operations public

Parameters
array$operation_arrayoperation-ids

◆ setConnection()

setConnection (   $seminar_id)

set connection

sets connection with seminar public

Parameters
string$seminar_idseminar-id
Returns
boolean successful

◆ setObjectId()

setObjectId (   $module_object_id)

set object id

sets object id public

Parameters
string$module_object_idobject id

◆ setPermissions()

setPermissions (   $access_info,
  $operations 
)

set permissions

sets permissions for content-module public

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

◆ unsetConnection()

unsetConnection (   $seminar_id)

unset connection

unsets connection with seminar public

Parameters
string$seminar_idseminar-id
Returns
boolean successful

Field Documentation

◆ $object_id

$object_id

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