ILIAS
Release_5_0_x_branch Revision 61816
|
Static Public Member Functions | |
static | lookupParticipantName ($a_owner, $a_server_id) |
Lookup participant name. | |
static | _getOptionalEContentFields () |
get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions | |
static | _getOptionalECourseFields () |
get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions | |
static | getPossibleRemoteTypes ($a_with_captions=false) |
Get all possible remote object types. | |
static | getPossibleReleaseTypes ($a_with_captions=false) |
Get all possible release 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. |
Data Fields | |
const | TYPE_ARRAY = 1 |
const | TYPE_INT = 2 |
const | TYPE_STRING = 3 |
const | TYPE_TIMEPLACE = 4 |
Definition at line 34 of file class.ilECSUtils.php.
|
static |
get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions
public
Definition at line 75 of file class.ilECSUtils.php.
References getEContentDefinition().
Referenced by ilECSSettingsGUI\initMappingsForm().
|
static |
get optional econtent fields These fields might be mapped against AdvancedMetaData field definitions
public
Definition at line 90 of file class.ilECSUtils.php.
References getEContentDefinition().
Referenced by ilECSCategoryMapping\getPossibleFields(), and ilECSSettingsGUI\initMappingsForm().
|
static |
Get advanced metadata values for object id.
int | $a_obj_id |
Definition at line 274 of file class.ilECSUtils.php.
References $res, and ilAdvancedMDValues\getInstancesForObjectId().
Referenced by ilECSObjectSettings\addMetadataToJson(), ilECSSettingsGUI\exportImported(), ilECSSettingsGUI\exportReleased(), ilECSReleasedContentTableGUI\fillRow(), and ilECSImportedContentTableGUI\fillRow().
|
static |
Get econtent / metadata definition.
string | $a_resource_id |
Definition at line 153 of file class.ilECSUtils.php.
Referenced by _getOptionalEContentFields(), _getOptionalECourseFields(), ilECSCourseSettings\buildJson(), getMatchableContent(), and ilObjRemoteCourse\updateCustomFromECSContent().
|
static |
Convert ECS content to rule matchable values.
string | $a_resource_id | |
int | $a_server_id | |
object | $a_ecs_content | |
int | $a_owner |
Definition at line 192 of file class.ilECSUtils.php.
References $res, ilECSCategoryMappingRule\ATTR_ARRAY, ilECSCategoryMappingRule\ATTR_INT, ilECSCategoryMappingRule\ATTR_STRING, getEContentDefinition(), ilECSCommunitiesCache\getInstance(), TYPE_ARRAY, TYPE_INT, TYPE_STRING, and TYPE_TIMEPLACE.
Referenced by ilRemoteObjectBase\createFromECSEContent(), and ilRemoteObjectBase\updateFromECSContent().
|
static |
Get all possible release object types.
bool | $a_with_captions |
Definition at line 128 of file class.ilECSUtils.php.
Referenced by ilECSParticipantSettingsGUI\initFormSettings(), and ilECSSettingsGUI\released().
|
static |
Get all possible remote object types.
bool | $a_with_captions |
Definition at line 103 of file class.ilECSUtils.php.
Referenced by ilECSImport\getAllImportedRemoteObjects(), ilECSEventQueueReader\handleImportReset(), ilECSSettingsGUI\imported(), ilECSSettingsGUI\initCategoryMappingForm(), and ilECSParticipantSettingsGUI\initFormSettings().
|
static |
Lookup participant name.
int | $a_owner | Mid of participant |
int | $a_server_id |
Definition at line 47 of file class.ilECSUtils.php.
References $ilLog, $reader, and ilECSCommunityReader\getInstanceByServerId().
Referenced by ilECSCategoryMappingRule\participantsToString(), and ilRemoteObjectBase\updateFromECSContent().
const ilECSUtils::TYPE_ARRAY = 1 |
Definition at line 36 of file class.ilECSUtils.php.
Referenced by ilECSObjectSettings\addMetadataToJson(), getMatchableContent(), and ilAdvancedMDFieldDefinitionText\importFromECS().
const ilECSUtils::TYPE_INT = 2 |
Definition at line 37 of file class.ilECSUtils.php.
Referenced by ilECSObjectSettings\addMetadataToJson(), getMatchableContent(), and ilAdvancedMDFieldDefinitionText\importFromECS().
const ilECSUtils::TYPE_STRING = 3 |
Definition at line 38 of file class.ilECSUtils.php.
Referenced by ilECSObjectSettings\addMetadataToJson(), getMatchableContent(), and ilAdvancedMDFieldDefinitionText\importFromECS().
const ilECSUtils::TYPE_TIMEPLACE = 4 |
Definition at line 39 of file class.ilECSUtils.php.
Referenced by ilECSObjectSettings\addMetadataToJson(), getMatchableContent(), ilAdvancedMDFieldDefinitionDate\importFromECS(), ilAdvancedMDFieldDefinitionDateTime\importFromECS(), ilAdvancedMDFieldDefinitionText\importFromECS(), and ilRemoteObjectBase\importMetadataFromJson().