Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
IliasObjectConnections Class Reference

Public Member Functions

 __construct ($object_id="")
 
 readData ()
 
 getConnections ()
 
 isConnected ($ilias_index= '')
 

Static Public Member Functions

static isObjectConnected ($index, $object_id)
 
static isCourseConnected ($object_id)
 
static getConnectionModuleId ($connection_object_id, $connection_module_type, $connection_cms)
 
static setConnection ($connection_object_id, $connection_module_id, $connection_module_type, $connection_cms)
 
static unsetConnection ($connection_object_id, $connection_module_id, $connection_module_type, $connection_cms)
 
static GetConnectedSystems ($object_id)
 
static DeleteAllConnections ($object_id, $cms_type)
 

Data Fields

 $id
 
 $object_connections
 

Constructor & Destructor Documentation

__construct (   $object_id = "")

constructor

init class. public

Parameters
string$object_idobject-id

Member Function Documentation

static DeleteAllConnections (   $object_id,
  $cms_type 
)
static
static GetConnectedSystems (   $object_id)
static
static getConnectionModuleId (   $connection_object_id,
  $connection_module_type,
  $connection_cms 
)
static

get module-id

returns module-id of given connection public

Parameters
string$connection_object_idobject-id
string$connection_module_typemodule-type
string$connection_cmssystem-type
Returns
string module-id
getConnections ( )

get object connections

returns object connections public

Returns
array object connections
isConnected (   $ilias_index = '')

get connection-status

returns true, if object has connections public

Returns
boolean connection-status
static isCourseConnected (   $object_id)
static

get connection-status

returns true, if course has connections to ILIAS courses public

Parameters
string$object_idobject-id (optional)
Returns
boolean connection-status
static isObjectConnected (   $index,
  $object_id 
)
static

get connection-status

returns true, if object has connections public

Parameters
string$object_idobject-id (optional)
Returns
boolean connection-status
readData ( )

read object connections

gets object connections from database public

static setConnection (   $connection_object_id,
  $connection_module_id,
  $connection_module_type,
  $connection_cms 
)
static

set connection

sets connection with object public

Parameters
string$connection_object_idobject-id
string$connection_module_idmodule-id
string$connection_module_typemodule-type
string$connection_cmssystem-type
Returns
boolean successful
static unsetConnection (   $connection_object_id,
  $connection_module_id,
  $connection_module_type,
  $connection_cms 
)
static

unset connection

deletes connection with object public

Parameters
string$connection_object_idobject-id
string$connection_module_idmodule-id
string$connection_module_typemodule-type
string$connection_cmssystem-type
Returns
boolean successful

Field Documentation

$id
$object_connections

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