54            include_once 
'./Services/WebServices/ECS/classes/class.ilECSCommunityReader.php';
 
   56            if ($part = 
$reader->getParticipantByMID($a_owner)) {
 
   57                return $part->getParticipantName();
 
   61            $ilLog->write(__METHOD__ . 
': Error reading participants.');
 
   78        return array_keys(
$def);
 
   93        return array_keys(
$def);
 
  108        $all = array(
"rcrs", 
"rcat", 
"rfil", 
"rglo", 
"rgrp", 
"rlm", 
"rwik");
 
  110        if (!$a_with_captions) {
 
  115        foreach ($all as 
$id) {
 
  133        $all = array(
"crs", 
"cat", 
"file", 
"glo", 
"grp", 
"lm", 
"wiki");
 
  135        if (!$a_with_captions) {
 
  140        foreach ($all as 
$id) {
 
  154        switch ($a_resource_id) {
 
  155            case '/campusconnect/courselinks':
 
  157                    'study_courses' => self::TYPE_ARRAY,
 
  158                    'lecturer' => self::TYPE_ARRAY,
 
  159                    'courseType' => self::TYPE_STRING,
 
  160                    'courseID' => self::TYPE_INT,
 
  161                    'credits' => self::TYPE_INT,
 
  162                    'semester_hours' => self::TYPE_INT,
 
  163                    'term' => self::TYPE_STRING,
 
  164                    'begin' => array(self::TYPE_TIMEPLACE, 
'timePlace'),
 
  165                    'end' => array(self::TYPE_TIMEPLACE, 
'timePlace'),
 
  166                    'room' => array(self::TYPE_TIMEPLACE, 
'timePlace'),
 
  167                    'cycle' => array(self::TYPE_TIMEPLACE, 
'timePlace')
 
  170            case '/campusconnect/categories':
 
  171            case '/campusconnect/files':
 
  172            case '/campusconnect/glossaries':
 
  173            case '/campusconnect/groups':
 
  174            case '/campusconnect/learningmodules':
 
  175            case '/campusconnect/wikis':
 
  192        include_once 
'./Services/WebServices/ECS/classes/class.ilECSCategoryMappingRule.php';
 
  193        include_once 
'./Services/WebServices/ECS/classes/class.ilECSCommunitiesCache.php';
 
  204        foreach ($definition as 
$id => 
$type) {
 
  205            if (is_array(
$type)) {
 
  225                    if (!is_object($timePlace)) {
 
  226                        include_once(
'./Services/WebServices/ECS/classes/class.ilECSTimePlace.php');
 
  227                        if (is_object($a_ecs_content->$target)) {
 
  229                            $timePlace->loadFromJSON($a_ecs_content->$target);
 
  237                            $value = array($timePlace->{
'getUT' . ucfirst(
$id)}(),
 
  243                            $value = array($timePlace->{
'get' . ucfirst(
$id)}(),
 
  266        include_once(
'Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php');
 
  274            $defs = $a_values->getDefinitions();
 
  275            foreach ($a_values->getADTGroup()->getElements() as $element_id => $element) {
 
  276                if (!$element->isNull()) {
 
  278                    $res[$element_id] = $defs[$element_id]->getValueForXML($element);
 
  281                    $res[$element_id] = 
null;
 
An exception for terminatinating execution or to throw for unit testing.
static getInstancesForObjectId($a_obj_id, $a_obj_type=null, $a_sub_type="-", $a_sub_id=0)
Get instances for given object id.
static getInstance()
Singleton instance.
Representation of ECS EContent Time Place.
static getPossibleRemoteTypes($a_with_captions=false)
Get all possible remote object types.
static getEContentDefinition($a_resource_id)
Get econtent / metadata definition.
static getMatchableContent($a_resource_id, $a_server_id, $a_ecs_content, $a_owner)
Convert ECS content to rule matchable values.
static getAdvancedMDValuesForObjId($a_obj_id)
Get advanced metadata values for object id.
static getPossibleReleaseTypes($a_with_captions=false)
Get all possible release object types.
static lookupParticipantName($a_owner, $a_server_id)
Lookup participant name.
static _getOptionalECourseFields()
get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions
static _getOptionalEContentFields()
get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions
if(!array_key_exists('StateId', $_REQUEST)) $id
foreach($_POST as $key=> $value) $res