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

Public Member Functions

 ConnectedCMS ($cms="")
 init ($cms)
 initSubclasses ()
 getConnectionStatus ($cms="")
 getPreferences ()
 setContentModule ($data, $is_connected=false)
 newContentModule ($module_id, $module_type, $is_connected=false)
 getName ()
 getCMSType ()
 getAbsolutePath ()
 getTargetFile ()
 getClassPrefix ()
 isAuthNecessary ()
 getUserPrefix ()
 getLogo ()
 getUserContentModules ()
 searchContentModules ($key)
 terminate ()
 deleteConnectedModules ($object_id)

Data Fields

 $title
 $is_active
 $cms_type
 $name
 $ABSOLUTE_PATH_ELEARNINGMODULES
 $ABSOLUTE_PATH_SOAP
 $RELATIVE_PATH_DB_CLASSES
 $CLASS_PREFIX
 $auth_necessary
 $USER_AUTO_CREATE
 $USER_PREFIX
 $target_file
 $logo_file
 $DB_ELEARNINGMODULES_HOST
 $DB_ELEARNINGMODULES_USER
 $DB_ELEARNINGMODULES_PASSWORD
 $DB_ELEARNINGMODULES_DATABASE
 $db_classes
 $soap_data
 $soap_client
 $types
 $roles
 $db
 $db_class
 $link
 $user
 $permissions
 $content_module

Member Function Documentation

ConnectedCMS (   $cms = "")

constructor

init class. don't call directly but by extending class ("new Ilias3ConnectedCMS($cms)" for example), except for basic administration

Parameters
string$cmssystem-type

Here is the call graph for this function:

Here is the caller graph for this function:

deleteConnectedModules (   $object_id)

Reimplemented in Ilias3ConnectedCMS.

Here is the call graph for this function:

getAbsolutePath ( )

get path of cms

returns path of cms public

Returns
string path
getClassPrefix ( )

get class prefix

returns class prefix public

Returns
string class prefix
getCMSType ( )

get type of cms

returns type of cms public

Returns
string type
getConnectionStatus (   $cms = "")

get connection status

checks settings public

Parameters
string$cmssystem-type
Returns
string messages

Here is the call graph for this function:

getLogo ( )

get logo-image

returns logo-image public

Returns
string logo-image
getName ( )

get name of cms

returns name of cms public

Returns
string name

Here is the caller graph for this function:

getPreferences ( )

get preferences

shows additional settings. can be overwritten by subclass. public

Reimplemented in Ilias4ConnectedCMS, and Ilias3ConnectedCMS.

getTargetFile ( )

get target file of cms

returns target file of cms public

Returns
string target file
getUserContentModules ( )

get user modules

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

Returns
boolean returns false

Reimplemented in Ilias3ConnectedCMS.

getUserPrefix ( )

get active-setting

returns true, if cms is active public

Returns
boolean active-setting function isActive($cms = "") { return $this->is_active; } get user prefix

returns user prefix public

Returns
string user prefix
init (   $cms)

init settings

gets settings from config-array and initializes db private

Parameters
string$cmssystem-type

Reimplemented in PmWikiConnectedCMS.

Here is the caller graph for this function:

initSubclasses ( )

init subclasses

loads classes for user-functions public

isAuthNecessary ( )

get authentification-setting

returns true, if authentification is necessary public

Returns
boolean authentification-setting
newContentModule (   $module_id,
  $module_type,
  $is_connected = false 
)

create new instance of subclass content-module

creates new instance of subclass content-module public

Parameters
string$module_idmodule-id
string$module_typemodule-type
boolean$is_connectedis module connected to seminar?

Reimplemented in Ilias3ConnectedCMS.

searchContentModules (   $key)

search modules

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

Returns
boolean returns false

Reimplemented in Ilias3ConnectedCMS, and PmWikiConnectedCMS.

setContentModule (   $data,
  $is_connected = false 
)

create new instance of subclass content-module with given values

creates new instance of subclass content-module with given values public

Parameters
array$datamodule-data
boolean$is_connectedis module connected to seminar?

Reimplemented in Ilias3ConnectedCMS.

terminate ( )

terminate

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

Returns
boolean returns false

Reimplemented in Ilias3ConnectedCMS.

Field Documentation

$ABSOLUTE_PATH_ELEARNINGMODULES
$ABSOLUTE_PATH_SOAP
$auth_necessary
$CLASS_PREFIX
$cms_type
$content_module
$db
$db_class
$db_classes
$DB_ELEARNINGMODULES_DATABASE
$DB_ELEARNINGMODULES_HOST
$DB_ELEARNINGMODULES_PASSWORD
$DB_ELEARNINGMODULES_USER
$is_active
$link
$logo_file
$name
$permissions
$RELATIVE_PATH_DB_CLASSES
$roles
$soap_client
$soap_data
$target_file
$title
$types
$user
$USER_AUTO_CREATE
$USER_PREFIX

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