Stud.IP
2.0 Revision 48548
|
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 |
getObjectId | ( | ) |
get object id
returns object id public
Ilias3ContentModule | ( | $module_id = "" , |
|
$module_type, | |||
$cms_type | |||
) |
constructor
init class. public
string | $module_id | module-id |
string | $module_type | module-type |
string | $cms_type | system-type |
isAllowed | ( | $operation | ) |
get permission-status
returns true, if operation is allowed public
string | $operation | operation |
Reimplemented from ContentModule.
readData | ( | ) |
read data
get module data from database. public
setAllowedOperations | ( | $operation_array | ) |
set allowed operations
sets allowed operations public
array | $operation_array | operation-ids |
setConnection | ( | $seminar_id | ) |
set connection
sets connection with seminar public
string | $seminar_id | seminar-id |
Reimplemented from ContentModule.
Reimplemented in Ilias4ContentModule.
setObjectId | ( | $module_object_id | ) |
set object id
sets object id public
string | $module_object_id | object id |
setPermissions | ( | $access_info, | |
$operations | |||
) |
set permissions
sets permissions for content-module public
string | $acces_info | access-status |
array | $operations | array of operations |
unsetConnection | ( | $seminar_id | ) |
unset connection
unsets connection with seminar public
string | $seminar_id | seminar-id |
Reimplemented from ContentModule.
$object_id |