ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilECSUtils Class Reference
+ Collaboration diagram for ilECSUtils:

Static Public Member Functions

static _fetchEContentIdFromHeader ($a_header)
 fetch new econtent id from location header
static _getOptionalEContentFields ()
 get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions

Detailed Description

Author
Stefan Meyer smeye.nosp@m.r@da.nosp@m.tabay.nosp@m..de
Version
$Id$

Definition at line 34 of file class.ilECSUtils.php.

Member Function Documentation

static ilECSUtils::_fetchEContentIdFromHeader (   $a_header)
static

fetch new econtent id from location header

public

Parameters
arrayheader array

Definition at line 44 of file class.ilECSUtils.php.

References $ilLog.

Referenced by ilECSConnector\addResource().

{
global $ilLog;
if(!isset($a_header['Location']))
{
return false;
}
$end_path = strrpos($a_header['Location'],"/");
if($end_path === false)
{
$ilLog->write(__METHOD__.': Cannot find path seperator.');
return false;
}
$econtent_id = substr($a_header['Location'],$end_path + 1);
$ilLog->write(__METHOD__.': Received EContentId '.$econtent_id);
return (int) $econtent_id;
}

+ Here is the caller graph for this function:

static ilECSUtils::_getOptionalEContentFields ( )
static

get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions

public

Definition at line 72 of file class.ilECSUtils.php.

Referenced by ilECSSettingsGUI\initMappingsForm().

{
return array(
'study_courses',
'lecturer',
'courseType',
'courseID',
'term',
'credits',
'semester_hours',
'begin',
'end',
'room',
'cycle');
}

+ Here is the caller graph for this function:


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