ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
__construct (int $a_obj_id=0) | |
setTitle ($a_title) | |
getTitle () | |
setTerm ($a_term) | |
getTerm () | |
setObjId ($a_id) | |
getObjId () | |
setCmsId ($a_id) | |
getCmsId () | |
setServerId ($a_id) | |
getServerId () | |
setTreeId ($a_id) | |
getTreeId () | |
setMid ($a_id) | |
getMid () | |
setStatus ($a_status) | |
getStatus () | |
setDeleted ($a_is_deleted) | |
isDeleted () | |
save () | |
update () | |
delete () | |
deleteTree () | |
Static Public Member Functions | |
static | treeExists (int $a_server_id, int $a_mid, int $a_tree_id) |
static | findDeletedNodes (int $a_server_id, int $a_mid, int $a_tree_id) |
Find deleted nodes Uses a left join since this is more robust. More... | |
static | lookupObjId (int $a_server_id, int $a_mid, int $a_tree_id, string $cms_id) |
static | lookupFirstTreeOfNode ($a_server_id, $a_mid, $cms_id) |
Lookup first obj_id of cms node. More... | |
static | lookupTitle (int $a_server_id, int $a_mid, int $a_tree_id) |
Lookup title by obj id. More... | |
static | lookupTopTerm (int $a_server_id, int $a_mid, int $a_tree_id) |
Lookup term (highest term in cms tree) More... | |
static | lookupStatusByObjId (int $a_server_id, int $a_mid, int $a_tree_id, int $obj_id) |
Lookup status. More... | |
static | lookupStatusByCmsId (int $a_server_id, int $a_mid, int $a_tree_id, string $cms_id) |
Lookup status. More... | |
static | updateStatus (int $a_server_id, int $a_mid, int $a_tree_id) |
static | lookupCmsId ($a_obj_id) |
Lookup cms id. More... | |
static | lookupCmsIds (array $a_obj_ids) |
static | lookupCmsIdsOfTree ($a_server_id, $a_mid, $a_tree_id) |
static | writeStatus ($a_server_id, $a_mid, $a_tree_id, $cms_ids, $status) |
Update status. More... | |
static | writeAllStatus ($a_server_id, $a_mid, $a_tree_id, $status) |
Update status. More... | |
static | writeAllDeleted ($a_server_id, $a_mid, $a_tree_id, $a_deleted_flag) |
Write deleted status. More... | |
static | lookupTreeIds (int $a_server_id, int $a_mid) |
static | deleteByServerId ($a_server_id) |
Data Fields | |
const | MAPPING_UNMAPPED = 1 |
const | MAPPING_PENDING_DISCONNECTABLE = 2 |
const | MAPPING_PENDING_NOT_DISCONNECTABLE = 3 |
const | MAPPING_MAPPED = 4 |
const | MAPPING_DELETED = 5 |
Protected Member Functions | |
read () | |
Private Attributes | |
ilDBInterface | $db |
int | $obj_id |
int | $server_id |
int | $mid |
int | $tree_id |
string | $cms_id |
string | $title |
string | $term |
int | $status = self::MAPPING_UNMAPPED |
bool | $deleted = false |
Definition at line 24 of file class.ilECSCmsData.php.
ilECSCmsData::__construct | ( | int | $a_obj_id = 0 | ) |
ilECSCmsData::delete | ( | ) |
Definition at line 501 of file class.ilECSCmsData.php.
|
static |
Definition at line 517 of file class.ilECSCmsData.php.
Referenced by ilECSSetting\delete().
ilECSCmsData::deleteTree | ( | ) |
Definition at line 508 of file class.ilECSCmsData.php.
|
static |
Find deleted nodes Uses a left join since this is more robust.
An alternative implementation could simply check the deleted flag in ecs_cms_data.
Definition at line 76 of file class.ilECSCmsData.php.
References $deleted, $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsTreeCommandQueueHandler\handleUpdate().
ilECSCmsData::getCmsId | ( | ) |
ilECSCmsData::getMid | ( | ) |
ilECSCmsData::getObjId | ( | ) |
ilECSCmsData::getServerId | ( | ) |
ilECSCmsData::getStatus | ( | ) |
ilECSCmsData::getTerm | ( | ) |
ilECSCmsData::getTitle | ( | ) |
Definition at line 384 of file class.ilECSCmsData.php.
References $title.
Referenced by ilECSNodeMappingTreeTableGUI\parse().
ilECSCmsData::getTreeId | ( | ) |
ilECSCmsData::isDeleted | ( | ) |
Definition at line 464 of file class.ilECSCmsData.php.
References $deleted.
Referenced by update().
|
static |
Lookup cms id.
Definition at line 255 of file class.ilECSCmsData.php.
Referenced by ilECSMappingSettingsGUI\dInitFormTreeSettings().
|
static |
int[] | $a_obj_ids |
Definition at line 265 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCourseCreationHandler\syncNodeToTop().
|
static |
Definition at line 282 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSMappingSettingsGUI\dDeleteTree().
|
static |
Lookup first obj_id of cms node.
Definition at line 122 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCourseCreationHandler\syncParentContainer().
|
static |
Definition at line 97 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsTreeCommandQueueHandler\handleCreate(), ilECSCmsTreeCommandQueueHandler\handleUpdate(), ilECSTreeReader\storeTree(), and ilECSCourseCreationHandler\syncNodeToTop().
|
static |
Lookup status.
Definition at line 214 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingAssignments\deleteDisconnectableMappings().
|
static |
Lookup status.
Definition at line 190 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingCmsExplorer\buildFormItem(), and ilECSNodeMappingCmsExplorer\buildTitle().
|
static |
Lookup title by obj id.
Definition at line 147 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSMappingSettingsGUI\dConfirmDeleteTree().
|
static |
Lookup term (highest term in cms tree)
Definition at line 167 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingTreeTableGUI\parse().
|
static |
int | $a_server_id | |
int | $a_mid |
Definition at line 360 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilECSNodeMappingTreeTableGUI\parse().
|
protected |
Definition at line 528 of file class.ilECSCmsData.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
ilECSCmsData::save | ( | ) |
Definition at line 470 of file class.ilECSCmsData.php.
ilECSCmsData::setCmsId | ( | $a_id | ) |
Definition at line 409 of file class.ilECSCmsData.php.
ilECSCmsData::setDeleted | ( | $a_is_deleted | ) |
Definition at line 459 of file class.ilECSCmsData.php.
ilECSCmsData::setMid | ( | $a_id | ) |
Definition at line 439 of file class.ilECSCmsData.php.
ilECSCmsData::setObjId | ( | $a_id | ) |
Definition at line 399 of file class.ilECSCmsData.php.
ilECSCmsData::setServerId | ( | $a_id | ) |
Definition at line 419 of file class.ilECSCmsData.php.
ilECSCmsData::setStatus | ( | $a_status | ) |
Definition at line 449 of file class.ilECSCmsData.php.
ilECSCmsData::setTerm | ( | $a_term | ) |
Definition at line 389 of file class.ilECSCmsData.php.
ilECSCmsData::setTitle | ( | $a_title | ) |
Definition at line 379 of file class.ilECSCmsData.php.
ilECSCmsData::setTreeId | ( | $a_id | ) |
Definition at line 429 of file class.ilECSCmsData.php.
|
static |
Definition at line 53 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSTreeReader\read().
ilECSCmsData::update | ( | ) |
Definition at line 490 of file class.ilECSCmsData.php.
References isDeleted().
|
static |
Definition at line 232 of file class.ilECSCmsData.php.
References ilECSNodeMappingAssignments\lookupAssignmentIds().
Referenced by ilECSMappingSettingsGUI\dInitEditTree(), and ilECSMappingSettingsGUI\dMap().
|
static |
Write deleted status.
Definition at line 340 of file class.ilECSCmsData.php.
Referenced by ilECSCmsTreeCommandQueueHandler\handleUpdate().
|
static |
|
static |
|
private |
Definition at line 38 of file class.ilECSCmsData.php.
Referenced by getCmsId().
|
private |
Definition at line 32 of file class.ilECSCmsData.php.
|
private |
Definition at line 42 of file class.ilECSCmsData.php.
Referenced by findDeletedNodes(), and isDeleted().
|
private |
Definition at line 36 of file class.ilECSCmsData.php.
Referenced by getMid().
|
private |
Definition at line 34 of file class.ilECSCmsData.php.
Referenced by getObjId().
|
private |
Definition at line 35 of file class.ilECSCmsData.php.
Referenced by getServerId().
|
private |
Definition at line 41 of file class.ilECSCmsData.php.
Referenced by getStatus().
|
private |
Definition at line 40 of file class.ilECSCmsData.php.
Referenced by getTerm().
|
private |
Definition at line 39 of file class.ilECSCmsData.php.
Referenced by getTitle().
|
private |
Definition at line 37 of file class.ilECSCmsData.php.
Referenced by getTreeId().
const ilECSCmsData::MAPPING_DELETED = 5 |
Definition at line 30 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildFormItem(), ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
const ilECSCmsData::MAPPING_MAPPED = 4 |
Definition at line 29 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
const ilECSCmsData::MAPPING_PENDING_DISCONNECTABLE = 2 |
Definition at line 27 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
const ilECSCmsData::MAPPING_PENDING_NOT_DISCONNECTABLE = 3 |
Definition at line 28 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
const ilECSCmsData::MAPPING_UNMAPPED = 1 |
Definition at line 26 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().