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

Public Member Functions

 loadClass ($cms)
 initElearningInterfaces ()
 getConfigValue ($name, $cms)
 setConfigValue ($name, $value, $cms)
 isCMSActive ($cms="")
 getCMSSelectbox ($message, $check_active=true)
 getTypeSelectbox ($cms)
 getSearchfield ($message)
 getNewModuleForm ($cms)
 getMyAccountForm ($message, $my_account_cms)
 getNewAccountForm (&$new_account_cms)
 getCMSHeader ($title)
 getCMSFooter ($logo)
 getModuleHeader ($title)
 getHeader ($title)
 bench ($stri)
 showbench ()
 deleteCMSData ($cms_type)
 getIliasCourses ($sem_id)
 checkIntegrity ()

Member Function Documentation

bench (   $stri)

save timestamp

saves a timestamp for debugging and performance-check public

Parameters
string$stridescription

Here is the caller graph for this function:

checkIntegrity ( )

check db-integrity

checks if there are broken links in the database public

Returns
boolean successful

Here is the call graph for this function:

deleteCMSData (   $cms_type)

delete cms-data

deletes all data belonging to the specified cms from stud.ip database public

Returns
boolean successful

Here is the call graph for this function:

getCMSFooter (   $logo)

get table-footer for connected cms

returns a table-footer for connected cms public

Parameters
string$logosystem-logo
Returns
string returns html-code

Here is the caller graph for this function:

getCMSHeader (   $title)

get table-header for connected cms

returns a table-header for connected cms public

Parameters
string$titletable-title
Returns
string returns html-code

Here is the caller graph for this function:

getCMSSelectbox (   $message,
  $check_active = true 
)

get cms-selectbox

returns a form to select a cms public

Parameters
string$messagedescription-text
boolean$check_activeshow only activated systems
Returns
string returns html-code

Here is the call graph for this function:

getConfigValue (   $name,
  $cms 
)

get config-value

gets config-value with given name from globals public

Parameters
string$nameentry-name
string$cmssystem-type
Returns
boolean returns false if no cms is given

Here is the call graph for this function:

Here is the caller graph for this function:

getHeader (   $title)

get Headline

returns a table with a headline public

Parameters
string$titleheadline
Returns
string returns html-code

Here is the caller graph for this function:

getIliasCourses (   $sem_id)

get ilias courses

creates output of ilias courses linked to the chosen seminar. also updates object-connections. public

Returns
boolean successful

Here is the call graph for this function:

getModuleHeader (   $title)

get headline for modules

returns a table with a headline public

Parameters
string$titleheadline
Returns
string returns html-code
getMyAccountForm (   $message,
  $my_account_cms 
)

get form for external user-account

returns a form for administration of external user-account public

Parameters
stringmessage message-string
stringmy_account_cms cms-type
Returns
string returns html-code

Here is the call graph for this function:

getNewAccountForm ( $new_account_cms)

get form for new user

returns a form to add a user-account to connected cms public

Parameters
string$new_account_cmssystem-type
Returns
string returns html-code

Here is the call graph for this function:

getNewModuleForm (   $cms)

get form for new content-module

returns a form to choose module-type and to create a new content-module public

Parameters
string$cmssystem-type
Returns
string returns html-code

Here is the call graph for this function:

getSearchfield (   $message)

get searchfield

returns a form to search for modules public

Parameters
string$messagedescription-text
Returns
string returns html-code

Here is the call graph for this function:

getTypeSelectbox (   $cms)

get moduletype-selectbox

returns a form to select type for new contentmodule public

Parameters
string$cmssystem-type
Returns
string returns html-code

Here is the caller graph for this function:

initElearningInterfaces ( )

Here is the call graph for this function:

isCMSActive (   $cms = "")

check cms-status

checks if connected content-management-system is activated public

Parameters
string$cmssystem-type

Here is the caller graph for this function:

loadClass (   $cms)

load class ConnectedCMS

loads class ConnectedCMS for given system-type and creates an instance public

Parameters
string$cmssystem-type

Here is the caller graph for this function:

setConfigValue (   $name,
  $value,
  $cms 
)

set config-value

writes config-value with given name and value to database public

Parameters
string$nameentry-name
string$valuevalue
string$cmssystem-type

Here is the call graph for this function:

Here is the caller graph for this function:

showbench ( )

show benchmark

shows saved timestamps with descriptions public

Parameters
string$stridescription

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