ILIAS
release_8 Revision v8.23
|
Public Member Functions | |
__construct (int $a_server_id=0, int $mapping_type=0, string $ecs_field='') | |
setServerId (int $a_server_id) | |
set server id More... | |
getServerId () | |
Get server id. More... | |
setECSField (string $ecs_field) | |
getECSField () | |
Get ecs field. More... | |
setMappingType (int $mapping_type) | |
Set mapping type. More... | |
getMappingType () | |
Get mapping type. More... | |
getAdvMDId () | |
setAdvMDId (int $a_id) | |
save () | |
Save mappings. More... | |
Data Fields | |
const | MAPPING_EXPORT = 1 |
const | MAPPING_IMPORT_CRS = 2 |
const | MAPPING_IMPORT_RCRS = 3 |
Protected Member Functions | |
update () | |
Update setting. More... | |
create () | |
Private Member Functions | |
read () | |
Read settings. More... | |
Private Attributes | |
ilDBInterface | $db |
int | $server_id = 0 |
int | $mapping_type = 0 |
string | $ecs_field = '' |
int | $advmd_id = 0 |
Definition at line 23 of file class.ilECSDataMappingSetting.php.
ilECSDataMappingSetting::__construct | ( | int | $a_server_id = 0 , |
int | $mapping_type = 0 , |
||
string | $ecs_field = '' |
||
) |
Definition at line 36 of file class.ilECSDataMappingSetting.php.
References $DIC, setECSField(), setMappingType(), and setServerId().
|
protected |
Definition at line 132 of file class.ilECSDataMappingSetting.php.
References $query, getAdvMDId(), getECSField(), getMappingType(), and getServerId().
Referenced by save().
ilECSDataMappingSetting::getAdvMDId | ( | ) |
Definition at line 92 of file class.ilECSDataMappingSetting.php.
References $advmd_id.
Referenced by create(), and update().
ilECSDataMappingSetting::getECSField | ( | ) |
Get ecs field.
Definition at line 71 of file class.ilECSDataMappingSetting.php.
References $ecs_field.
Referenced by create(), read(), save(), and update().
ilECSDataMappingSetting::getMappingType | ( | ) |
Get mapping type.
Definition at line 87 of file class.ilECSDataMappingSetting.php.
References $mapping_type.
Referenced by create(), read(), save(), and update().
ilECSDataMappingSetting::getServerId | ( | ) |
Get server id.
Definition at line 58 of file class.ilECSDataMappingSetting.php.
References $server_id.
Referenced by create(), read(), save(), and update().
|
private |
Read settings.
Definition at line 148 of file class.ilECSDataMappingSetting.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getECSField(), getMappingType(), getServerId(), and setAdvMDId().
ilECSDataMappingSetting::save | ( | ) |
Save mappings.
Definition at line 105 of file class.ilECSDataMappingSetting.php.
References $query, $res, create(), getECSField(), getMappingType(), getServerId(), and update().
ilECSDataMappingSetting::setAdvMDId | ( | int | $a_id | ) |
Definition at line 97 of file class.ilECSDataMappingSetting.php.
Referenced by read().
ilECSDataMappingSetting::setECSField | ( | string | $ecs_field | ) |
Definition at line 63 of file class.ilECSDataMappingSetting.php.
References $ecs_field.
Referenced by __construct().
ilECSDataMappingSetting::setMappingType | ( | int | $mapping_type | ) |
Set mapping type.
Definition at line 79 of file class.ilECSDataMappingSetting.php.
References $mapping_type.
Referenced by __construct().
ilECSDataMappingSetting::setServerId | ( | int | $a_server_id | ) |
set server id
Definition at line 50 of file class.ilECSDataMappingSetting.php.
Referenced by __construct().
|
protected |
Update setting.
Definition at line 122 of file class.ilECSDataMappingSetting.php.
References $query, getAdvMDId(), getECSField(), getMappingType(), and getServerId().
Referenced by save().
|
private |
Definition at line 34 of file class.ilECSDataMappingSetting.php.
Referenced by getAdvMDId().
|
private |
Definition at line 29 of file class.ilECSDataMappingSetting.php.
|
private |
Definition at line 33 of file class.ilECSDataMappingSetting.php.
Referenced by getECSField(), and setECSField().
|
private |
Definition at line 32 of file class.ilECSDataMappingSetting.php.
Referenced by getMappingType(), and setMappingType().
|
private |
Definition at line 31 of file class.ilECSDataMappingSetting.php.
Referenced by getServerId().
const ilECSDataMappingSetting::MAPPING_EXPORT = 1 |
Definition at line 25 of file class.ilECSDataMappingSetting.php.
Referenced by ilECSObjectSettings\addMetadataToJson(), ilECSExportedContentTableGUI\fillRow(), and ilECSSettingsGUI\initMappingsForm().
const ilECSDataMappingSetting::MAPPING_IMPORT_CRS = 2 |
Definition at line 26 of file class.ilECSDataMappingSetting.php.
Referenced by ilECSSettingsGUI\initMappingsForm().
const ilECSDataMappingSetting::MAPPING_IMPORT_RCRS = 3 |
Definition at line 27 of file class.ilECSDataMappingSetting.php.
Referenced by ilECSSettingsGUI\exportImported(), ilECSImportedContentTableGUI\fillRow(), ilECSSettingsGUI\initMappingsForm(), and ilObjRemoteCourse\updateCustomFromECSContent().