Stud.IP  jlu_3.3 Revision
ObjectConnections Class Reference
Collaboration diagram for ObjectConnections:
Collaboration graph

Public Member Functions

 ObjectConnections ($object_id="")
 
 readData ()
 
 getConnections ()
 
 isConnected ($object_id=NULL)
 
 getConnectionModuleId ($connection_object_id, $connection_module_type, $connection_cms)
 
 setConnection ($connection_object_id, $connection_module_id, $connection_module_type, $connection_cms)
 
 unsetConnection ($connection_object_id, $connection_module_id, $connection_module_type, $connection_cms)
 
 GetConnectedSystems ($object_id)
 
 DeleteAllConnections ($object_id, $cms_type)
 

Data Fields

 $id
 
 $object_connections
 

Member Function Documentation

◆ DeleteAllConnections()

DeleteAllConnections (   $object_id,
  $cms_type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetConnectedSystems()

GetConnectedSystems (   $object_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getConnectionModuleId()

getConnectionModuleId (   $connection_object_id,
  $connection_module_type,
  $connection_cms 
)

get module-id

returns module-id of given connection @access public

Parameters
string$connection_object_idobject-id
string$connection_module_typemodule-type
string$connection_cmssystem-type
Returns
string module-id
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getConnections()

getConnections ( )

get object connections

returns object connections @access public

Returns
array object connections

◆ isConnected()

isConnected (   $object_id = NULL)

get connection-status

returns true, if object has connections @access public

Parameters
string$object_idobject-id (optional)
Returns
boolean connection-status
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ObjectConnections()

ObjectConnections (   $object_id = "")

constructor

init class. @access public

Parameters
string$object_idobject-id
Here is the call graph for this function:

◆ readData()

readData ( )

read object connections

gets object connections from database @access public

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setConnection()

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

set connection

sets connection with object @access public

Parameters
string$connection_object_idobject-id
string$connection_module_idmodule-id
string$connection_module_typemodule-type
string$connection_cmssystem-type
Returns
boolean successful
Here is the call graph for this function:
Here is the caller graph for this function:

◆ unsetConnection()

unsetConnection (   $connection_object_id,
  $connection_module_id,
  $connection_module_type,
  $connection_cms 
)

unset connection

deletes connection with object @access public

Parameters
string$connection_object_idobject-id
string$connection_module_idmodule-id
string$connection_module_typemodule-type
string$connection_cmssystem-type
Returns
boolean successful
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $id

$id

◆ $object_connections

$object_connections

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