Stud.IP  jlu_3.3 Revision
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()

bench (   $stri)

save timestamp

saves a timestamp for debugging and performance-check @access public

Parameters
string$stridescription
Here is the caller graph for this function:

◆ checkIntegrity()

checkIntegrity ( )

check db-integrity

checks if there are broken links in the database @access public

Returns
boolean successful
Here is the call graph for this function:

◆ deleteCMSData()

deleteCMSData (   $cms_type)

delete cms-data

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

Returns
boolean successful
Here is the call graph for this function:

◆ getCMSFooter()

getCMSFooter (   $logo)

get table-footer for connected cms

returns a table-footer for connected cms @access public

Parameters
string$logosystem-logo
Returns
string returns html-code
Here is the caller graph for this function:

◆ getCMSHeader()

getCMSHeader (   $title)

get table-header for connected cms

returns a table-header for connected cms @access public

Parameters
string$titletable-title
Returns
string returns html-code
Here is the caller graph for this function:

◆ getCMSSelectbox()

getCMSSelectbox (   $message,
  $check_active = true 
)

get cms-selectbox

returns a form to select a cms @access 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()

getConfigValue (   $name,
  $cms 
)

get config-value

gets config-value with given name from globals @access 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()

getHeader (   $title)

get Headline

returns a table with a headline @access public

Parameters
string$titleheadline
Returns
string returns html-code

◆ getIliasCourses()

getIliasCourses (   $sem_id)

get ilias courses

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

Returns
boolean successful
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getModuleHeader()

getModuleHeader (   $title)

get headline for modules

returns a table with a headline @access public

Parameters
string$titleheadline
Returns
string returns html-code

◆ getMyAccountForm()

getMyAccountForm (   $message,
  $my_account_cms 
)

get form for external user-account

returns a form for administration of external user-account @access public

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

◆ getNewAccountForm()

getNewAccountForm ( $new_account_cms)

get form for new user

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

Parameters
string$new_account_cmssystem-type
Returns
string returns html-code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNewModuleForm()

getNewModuleForm (   $cms)

get form for new content-module

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

Parameters
string$cmssystem-type
Returns
string returns html-code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSearchfield()

getSearchfield (   $message)

get searchfield

returns a form to search for modules @access public

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

◆ getTypeSelectbox()

getTypeSelectbox (   $cms)

get moduletype-selectbox

returns a form to select type for new contentmodule @access public

Parameters
string$cmssystem-type
Returns
string returns html-code
Here is the call graph for this function:

◆ initElearningInterfaces()

initElearningInterfaces ( )
Here is the call graph for this function:

◆ isCMSActive()

isCMSActive (   $cms = "")

check cms-status

checks if connected content-management-system is activated @access public

Parameters
string$cmssystem-type
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadClass()

loadClass (   $cms)

load class ConnectedCMS

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

Parameters
string$cmssystem-type
Here is the caller graph for this function:

◆ setConfigValue()

setConfigValue (   $name,
  $value,
  $cms 
)

set config-value

writes config-value with given name and value to database @access 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()

showbench ( )

show benchmark

shows saved timestamps with descriptions @access public

Parameters
string$stridescription

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