Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
LonCapaContentModule Class Reference
Inheritance diagram for LonCapaContentModule:
ContentModule

Public Member Functions

 __construct ($module_id, $module_type, $cms_type)
 
 readData ()
 
 isAllowed ($operation)
 
 setConnection ($seminar_id)
 
- Public Member Functions inherited from ContentModule
 readData ()
 
 __construct ($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

 $lcRequest
 
 $cmsUrl
 
- 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
 

Constructor & Destructor Documentation

__construct (   $module_id,
  $module_type,
  $cms_type 
)

LonCapaContentModule constructor.

Parameters
string$module_id
string$module_type
string$cms_type

Member Function Documentation

isAllowed (   $operation)

get permission-status

Parameters
string$operationoperation
Returns
boolean allowed
readData ( )

fetch data from LonCapa

setConnection (   $seminar_id)

store connection between Stud.IP course and LonCapa course

Parameters
string$seminar_id
Returns
bool

Field Documentation

$cmsUrl
$lcRequest

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