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

Public Member Functions

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

Data Fields

 $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

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

constructor

init class. don't call directly, class is loaded by ConnectedCMS. 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:

createDummyForErrormessage (   $error = "unknown")

create module-dummy

sets title and description of module to display error-message public

Parameters
string$errorerror-type

Here is the call graph for this function:

Here is the caller graph for this function:

getAuthors ( )

get authors

returns authors public

Returns
array authors
getCMSName ( )

get cms name

returns cms name public

Returns
string cms name

Here is the caller graph for this function:

getCMSType ( )

get cms-type

returns cms-type public

Returns
string cms-type
getDescription ( )

get description

returns description public

Returns
string description
getIcon ( )

get icon-image

returns icon-image public

Returns
string icon-image
getId ( )

get id

returns id public

Returns
string id

Here is the caller graph for this function:

getModuleType ( )

get module-type

returns module-type public

Returns
string module-type
getModuleTypeName ( )

get module-type name

returns module-type name public

Returns
string module-type name
getReferenceString ( )

get reference string

returns reference string for content-module public

Returns
string reference string
getTitle ( )

get title

returns title public

Returns
string title
isAllowed (   $operation)

ask for permission for given operation

dummy-method. returns false. must be overwritten by subclass. public

Parameters
string$operationoperation
Returns
boolean returns false

Reimplemented in Ilias3ContentModule, and PmWikiContentModule.

isConnected ( )

get connection-status

returns true, if module is connected to seminar public

Returns
boolean connection-status
isDummy ( )

get module-status

returns true, if module is a dummy public

Returns
boolean module-status

Here is the caller graph for this function:

setAuthors (   $module_authors)

set authors

sets authors public

Parameters
array$module_authorsauthors

Here is the caller graph for this function:

setCMSType (   $module_cms_type)

set cms-type

sets cms-type public

Parameters
string$module_cms_typecms-type

Here is the caller graph for this function:

setConnection (   $seminar_id)

set connection

sets connection with seminar public

Parameters
string$seminar_idseminar-id
Returns
boolean successful

Reimplemented in Ilias3ContentModule, and Ilias4ContentModule.

setConnectionType (   $is_connected)

set connection-status

sets connection-status public

Parameters
boolean$is_connectedconnection-status
setDescription (   $module_description)

set description

sets description public

Parameters
string$module_descriptiondescription

Here is the caller graph for this function:

setId (   $module_id)

set id

sets id public

Parameters
string$module_idid

Here is the caller graph for this function:

setModuleType (   $module_type)

set module-type

sets module-type public

Parameters
string$module_typemodule-type

Here is the caller graph for this function:

setTitle (   $module_title)

set title

sets title public

Parameters
string$module_titletitle

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 in Ilias3ContentModule.

Field Documentation

$allowed_operations
$authors
$cms_name
$cms_type
$db_class
$description
$icon_file
$id
$is_connected
$is_dummy
$module_type
$module_type_name
$title
$view

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