ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
__construct ($a_server_id=0, $mapping_type=0, $ecs_field= '') | |
constructor public | |
setServerId ($a_server_id) | |
set server id | |
getServerId () | |
Get server id. | |
setECSField ($ecs_field) | |
getECSField () | |
Get ecs field. | |
setMappingType ($mapping_type) | |
Set mapping type. | |
getMappingType () | |
Get mapping type. | |
getAdvMDId () | |
setAdvMDId ($a_id) | |
save () | |
Save mappings. |
Data Fields | |
const | MAPPING_EXPORT = 1 |
const | MAPPING_IMPORT_CRS = 2 |
const | MAPPING_IMPORT_RCRS = 3 |
Protected Member Functions | |
update () | |
Update setting ilDB $ilDB. | |
create () |
Private Member Functions | |
read () | |
Read settings. |
Private Attributes | |
$server_id = 0 | |
$mapping_type = 0 | |
$ecs_field = 0 | |
$advmd_id = 0 |
Definition at line 32 of file class.ilECSDataMappingSetting.php.
ilECSDataMappingSetting::__construct | ( | $a_server_id = 0 , |
|
$mapping_type = 0 , |
|||
$ecs_field = '' |
|||
) |
constructor public
Definition at line 50 of file class.ilECSDataMappingSetting.php.
References $ecs_field, $mapping_type, setECSField(), setMappingType(), and setServerId().
|
protected |
Definition at line 163 of file class.ilECSDataMappingSetting.php.
References $ilDB, $query, $res, getAdvMDId(), getECSField(), getMappingType(), and getServerId().
Referenced by save().
ilECSDataMappingSetting::getAdvMDId | ( | ) |
Definition at line 113 of file class.ilECSDataMappingSetting.php.
References $advmd_id.
Referenced by create(), and update().
ilECSDataMappingSetting::getECSField | ( | ) |
Get ecs field.
Definition at line 86 of file class.ilECSDataMappingSetting.php.
References $ecs_field.
Referenced by create(), read(), save(), and update().
ilECSDataMappingSetting::getMappingType | ( | ) |
Get mapping type.
Definition at line 103 of file class.ilECSDataMappingSetting.php.
References $mapping_type.
Referenced by create(), read(), save(), and update().
ilECSDataMappingSetting::getServerId | ( | ) |
Get server id.
Definition at line 69 of file class.ilECSDataMappingSetting.php.
References $server_id.
Referenced by create(), read(), save(), and update().
|
private |
Read settings.
private
Definition at line 184 of file class.ilECSDataMappingSetting.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, getECSField(), getMappingType(), getServerId(), and setAdvMDId().
ilECSDataMappingSetting::save | ( | ) |
Save mappings.
public
Definition at line 128 of file class.ilECSDataMappingSetting.php.
References $ilDB, $query, $res, create(), getECSField(), getMappingType(), getServerId(), and update().
ilECSDataMappingSetting::setAdvMDId | ( | $a_id | ) |
Definition at line 118 of file class.ilECSDataMappingSetting.php.
Referenced by read().
ilECSDataMappingSetting::setECSField | ( | $ecs_field | ) |
string | $ecs_field |
Definition at line 78 of file class.ilECSDataMappingSetting.php.
References $ecs_field.
Referenced by __construct().
ilECSDataMappingSetting::setMappingType | ( | $mapping_type | ) |
Set mapping type.
int | $mapping_type |
Definition at line 95 of file class.ilECSDataMappingSetting.php.
References $mapping_type.
Referenced by __construct().
ilECSDataMappingSetting::setServerId | ( | $a_server_id | ) |
set server id
int | $a_server_id |
Definition at line 61 of file class.ilECSDataMappingSetting.php.
Referenced by __construct().
|
protected |
Update setting ilDB $ilDB.
Definition at line 151 of file class.ilECSDataMappingSetting.php.
References $ilDB, $query, getAdvMDId(), getECSField(), getMappingType(), and getServerId().
Referenced by save().
|
private |
Definition at line 42 of file class.ilECSDataMappingSetting.php.
Referenced by getAdvMDId().
|
private |
Definition at line 41 of file class.ilECSDataMappingSetting.php.
Referenced by __construct(), getECSField(), and setECSField().
|
private |
Definition at line 40 of file class.ilECSDataMappingSetting.php.
Referenced by __construct(), getMappingType(), and setMappingType().
|
private |
Definition at line 39 of file class.ilECSDataMappingSetting.php.
Referenced by getServerId().
const ilECSDataMappingSetting::MAPPING_EXPORT = 1 |
Definition at line 35 of file class.ilECSDataMappingSetting.php.
Referenced by ilECSReleasedContentTableGUI\fillRow(), ilECSSettingsGUI\initMappingsForm(), and ilECSContentWriter\updateJSON().
const ilECSDataMappingSetting::MAPPING_IMPORT_CRS = 2 |
Definition at line 36 of file class.ilECSDataMappingSetting.php.
Referenced by ilECSSettingsGUI\initMappingsForm().
const ilECSDataMappingSetting::MAPPING_IMPORT_RCRS = 3 |
Definition at line 37 of file class.ilECSDataMappingSetting.php.
Referenced by ilECSSettingsGUI\exportImported(), ilECSImportedContentTableGUI\fillRow(), ilECSDataMappingSettings\getMappingByECSName(), ilECSDataMappingSettings\getMappings(), ilECSSettingsGUI\initMappingsForm(), ilAdvancedMDRecordGUI\loadECSDurationPost(), and ilObjRemoteCourse\updateFromECSContent().