|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilECSCmsData: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 23 of file class.ilECSCmsData.php.
| ilECSCmsData::__construct | ( | int | $a_obj_id = 0 | ) |
| ilECSCmsData::delete | ( | ) |
Definition at line 500 of file class.ilECSCmsData.php.
|
static |
Definition at line 516 of file class.ilECSCmsData.php.
Referenced by ilECSSetting\delete().
Here is the caller graph for this function:| ilECSCmsData::deleteTree | ( | ) |
Definition at line 507 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 75 of file class.ilECSCmsData.php.
References $deleted, $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsTreeCommandQueueHandler\handleUpdate().
Here is the caller graph for this function:| ilECSCmsData::getCmsId | ( | ) |
| ilECSCmsData::getMid | ( | ) |
| ilECSCmsData::getObjId | ( | ) |
| ilECSCmsData::getServerId | ( | ) |
| ilECSCmsData::getStatus | ( | ) |
| ilECSCmsData::getTerm | ( | ) |
| ilECSCmsData::getTitle | ( | ) |
Definition at line 383 of file class.ilECSCmsData.php.
References $title.
Referenced by ilECSNodeMappingTreeTableGUI\parse().
Here is the caller graph for this function:| ilECSCmsData::getTreeId | ( | ) |
| ilECSCmsData::isDeleted | ( | ) |
Definition at line 463 of file class.ilECSCmsData.php.
References $deleted.
Referenced by update().
Here is the caller graph for this function:
|
static |
Lookup cms id.
Definition at line 254 of file class.ilECSCmsData.php.
Referenced by ilECSMappingSettingsGUI\dInitFormTreeSettings().
Here is the caller graph for this function:
|
static |
| int[] | $a_obj_ids |
Definition at line 264 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCourseCreationHandler\syncNodeToTop().
Here is the caller graph for this function:
|
static |
Definition at line 281 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSMappingSettingsGUI\dDeleteTree().
Here is the caller graph for this function:
|
static |
Lookup first obj_id of cms node.
Definition at line 121 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCourseCreationHandler\syncParentContainer().
Here is the caller graph for this function:
|
static |
Definition at line 96 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsTreeCommandQueueHandler\handleCreate(), ilECSCmsTreeCommandQueueHandler\handleUpdate(), ilECSTreeReader\storeTree(), and ilECSCourseCreationHandler\syncNodeToTop().
Here is the caller graph for this function:
|
static |
Lookup status.
Definition at line 213 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingAssignments\deleteDisconnectableMappings().
Here is the caller graph for this function:
|
static |
Lookup status.
Definition at line 189 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingCmsExplorer\buildFormItem(), and ilECSNodeMappingCmsExplorer\buildTitle().
Here is the caller graph for this function:
|
static |
Lookup title by obj id.
Definition at line 146 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSMappingSettingsGUI\dConfirmDeleteTree().
Here is the caller graph for this function:
|
static |
Lookup term (highest term in cms tree)
Definition at line 166 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingTreeTableGUI\parse().
Here is the caller graph for this function:
|
static |
| int | $a_server_id | |
| int | $a_mid |
Definition at line 359 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilECSNodeMappingTreeTableGUI\parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 527 of file class.ilECSCmsData.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
Here is the caller graph for this function:| ilECSCmsData::save | ( | ) |
Definition at line 469 of file class.ilECSCmsData.php.
| ilECSCmsData::setCmsId | ( | $a_id | ) |
Definition at line 408 of file class.ilECSCmsData.php.
| ilECSCmsData::setDeleted | ( | $a_is_deleted | ) |
Definition at line 458 of file class.ilECSCmsData.php.
| ilECSCmsData::setMid | ( | $a_id | ) |
Definition at line 438 of file class.ilECSCmsData.php.
| ilECSCmsData::setObjId | ( | $a_id | ) |
Definition at line 398 of file class.ilECSCmsData.php.
| ilECSCmsData::setServerId | ( | $a_id | ) |
Definition at line 418 of file class.ilECSCmsData.php.
| ilECSCmsData::setStatus | ( | $a_status | ) |
Definition at line 448 of file class.ilECSCmsData.php.
| ilECSCmsData::setTerm | ( | $a_term | ) |
Definition at line 388 of file class.ilECSCmsData.php.
| ilECSCmsData::setTitle | ( | $a_title | ) |
Definition at line 378 of file class.ilECSCmsData.php.
| ilECSCmsData::setTreeId | ( | $a_id | ) |
Definition at line 428 of file class.ilECSCmsData.php.
|
static |
Definition at line 52 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSTreeReader\read().
Here is the caller graph for this function:| ilECSCmsData::update | ( | ) |
Definition at line 489 of file class.ilECSCmsData.php.
References isDeleted().
Here is the call graph for this function:
|
static |
Definition at line 231 of file class.ilECSCmsData.php.
References ilECSNodeMappingAssignments\lookupAssignmentIds().
Referenced by ilECSMappingSettingsGUI\dInitEditTree(), and ilECSMappingSettingsGUI\dMap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Write deleted status.
Definition at line 339 of file class.ilECSCmsData.php.
Referenced by ilECSCmsTreeCommandQueueHandler\handleUpdate().
Here is the caller graph for this function:
|
static |
|
static |
|
private |
Definition at line 37 of file class.ilECSCmsData.php.
Referenced by getCmsId().
|
private |
Definition at line 31 of file class.ilECSCmsData.php.
|
private |
Definition at line 41 of file class.ilECSCmsData.php.
Referenced by findDeletedNodes(), and isDeleted().
|
private |
Definition at line 35 of file class.ilECSCmsData.php.
Referenced by getMid().
|
private |
Definition at line 33 of file class.ilECSCmsData.php.
Referenced by getObjId().
|
private |
Definition at line 34 of file class.ilECSCmsData.php.
Referenced by getServerId().
|
private |
Definition at line 40 of file class.ilECSCmsData.php.
Referenced by getStatus().
|
private |
Definition at line 39 of file class.ilECSCmsData.php.
Referenced by getTerm().
|
private |
Definition at line 38 of file class.ilECSCmsData.php.
Referenced by getTitle().
|
private |
Definition at line 36 of file class.ilECSCmsData.php.
Referenced by getTreeId().
| const ilECSCmsData::MAPPING_DELETED = 5 |
Definition at line 29 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildFormItem(), ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
| const ilECSCmsData::MAPPING_MAPPED = 4 |
Definition at line 28 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
| const ilECSCmsData::MAPPING_PENDING_DISCONNECTABLE = 2 |
Definition at line 26 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
| const ilECSCmsData::MAPPING_PENDING_NOT_DISCONNECTABLE = 3 |
Definition at line 27 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
| const ilECSCmsData::MAPPING_UNMAPPED = 1 |
Definition at line 25 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().