|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for ilECSCmsData:Public Member Functions | |
| __construct ($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 ($a_server_id, $a_mid, $a_tree_id) |
| static | findDeletedNodes ($a_server_id, $a_mid, $a_tree_id) |
| Find deleted nodes Uses a left join since this is more robust. More... | |
| static | lookupObjId ($a_server_id, $a_mid, $a_tree_id, $cms_id) |
| static | lookupFirstTreeOfNode ($a_server_id, $a_mid, $cms_id) |
| Lookup first obj_id of cms node @global $ilDB $ilDB. More... | |
| static | lookupTitle ($a_server_id, $a_mid, $a_tree_id) |
| Lookup title by obj id. More... | |
| static | lookupTopTerm ($a_server_id, $a_mid, $a_tree_id) |
| Lookup term (highest term in cms tree) @global <type> $ilDB. More... | |
| static | lookupStatusByObjId ($a_server_id, $a_mid, $a_tree_id, $obj_id) |
| Lookup status. More... | |
| static | lookupStatusByCmsId ($a_server_id, $a_mid, $a_tree_id, $cms_id) |
| Lookup status. More... | |
| static | updateStatus ($a_server_id, $a_mid, $a_tree_id) |
| static | lookupCmsId ($a_obj_id) |
| Lookup cms id. More... | |
| static | lookupCmsIds ($a_obj_ids) |
| static | lookupCmsIdsOfTree ($a_server_id, $a_mid, $a_tree_id) |
| @global $ilDB $ilDB More... | |
| static | writeStatus ($a_server_id, $a_mid, $a_tree_id, $cms_ids, $status) |
| Update status @global $ilDB. More... | |
| static | writeAllStatus ($a_server_id, $a_mid, $a_tree_id, $status) |
| Update status @global $ilDB. More... | |
| static | writeAllDeleted ($a_server_id, $a_mid, $a_tree_id, $a_deleted_flag) |
| Write deleted status. More... | |
| static | lookupTreeIds ($a_server_id, $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 | |
| $obj_id | |
| $server_id | |
| $mid | |
| $tree_id | |
| $cms_id | |
| $title | |
| $term | |
| $status = self::MAPPING_UNMAPPED | |
| $deleted = false | |
Definition at line 10 of file class.ilECSCmsData.php.
| ilECSCmsData::__construct | ( | $a_obj_id = 0 | ) |
Definition at line 28 of file class.ilECSCmsData.php.
References read().
Here is the call graph for this function:| ilECSCmsData::delete | ( | ) |
Definition at line 525 of file class.ilECSCmsData.php.
|
static |
Definition at line 549 of file class.ilECSCmsData.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSetting\delete().
Here is the caller graph for this function:| ilECSCmsData::deleteTree | ( | ) |
Definition at line 536 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. @global $ilDB
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_tree_id |
Definition at line 62 of file class.ilECSCmsData.php.
References $deleted, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsTreeCommandQueueHandler\handleUpdate().
Here is the caller graph for this function:| ilECSCmsData::getCmsId | ( | ) |
| ilECSCmsData::getMid | ( | ) |
Definition at line 460 of file class.ilECSCmsData.php.
References $mid.
| ilECSCmsData::getObjId | ( | ) |
| ilECSCmsData::getServerId | ( | ) |
| ilECSCmsData::getStatus | ( | ) |
| ilECSCmsData::getTerm | ( | ) |
Definition at line 410 of file class.ilECSCmsData.php.
References $term.
| ilECSCmsData::getTitle | ( | ) |
Definition at line 400 of file class.ilECSCmsData.php.
References $title.
| ilECSCmsData::getTreeId | ( | ) |
| ilECSCmsData::isDeleted | ( | ) |
Definition at line 480 of file class.ilECSCmsData.php.
References $deleted.
Referenced by update().
Here is the caller graph for this function:
|
static |
Lookup cms id.
| type | $a_obj_id |
Definition at line 254 of file class.ilECSCmsData.php.
References lookupCmsIds().
Referenced by ilECSMappingSettingsGUI\dInitFormTreeSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 261 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by lookupCmsId(), ilECSCourseCreationHandler\syncNodeToTop(), and updateStatus().
Here is the caller graph for this function:
|
static |
@global $ilDB $ilDB
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_tree_id |
Definition at line 285 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSMappingSettingsGUI\dDeleteTree().
Here is the caller graph for this function:
|
static |
Lookup first obj_id of cms node @global $ilDB $ilDB.
| type | $a_server_id | |
| type | $a_mid | |
| type | $cms_id |
Definition at line 112 of file class.ilECSCmsData.php.
References $cms_id, $DIC, $GLOBALS, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCourseCreationHandler\syncParentContainer().
Here is the caller graph for this function:
|
static |
Definition at line 83 of file class.ilECSCmsData.php.
References $cms_id, $DIC, $GLOBALS, $ilDB, $query, $res, $row, 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.
| int | $a_obj_id |
Definition at line 210 of file class.ilECSCmsData.php.
References $cms_id, $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and MAPPING_UNMAPPED.
Referenced by ilECSNodeMappingAssignments\deleteDisconnectableMappings().
Here is the caller graph for this function:
|
static |
Lookup status.
| int | $a_obj_id |
Definition at line 185 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $obj_id, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, MAPPING_DELETED, and MAPPING_UNMAPPED.
Referenced by ilECSNodeMappingCmsExplorer\buildFormItem(), and ilECSNodeMappingCmsExplorer\buildTitle().
Here is the caller graph for this function:
|
static |
Lookup title by obj id.
| int | $a_obj_id |
Definition at line 137 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSMappingSettingsGUI\dConfirmDeleteTree().
Here is the caller graph for this function:
|
static |
Lookup term (highest term in cms tree) @global <type> $ilDB.
| <type> | $a_server_id |
| <type> | $a_mid |
| <type> | $a_tree_id |
Definition at line 161 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingTreeTableGUI\parse().
Here is the caller graph for this function:
|
static |
Definition at line 376 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSNodeMappingTreeTableGUI\parse().
Here is the caller graph for this function:
|
protected |
Definition at line 560 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
Here is the caller graph for this function:| ilECSCmsData::save | ( | ) |
Definition at line 486 of file class.ilECSCmsData.php.
| ilECSCmsData::setCmsId | ( | $a_id | ) |
Definition at line 425 of file class.ilECSCmsData.php.
| ilECSCmsData::setDeleted | ( | $a_is_deleted | ) |
Definition at line 475 of file class.ilECSCmsData.php.
| ilECSCmsData::setMid | ( | $a_id | ) |
Definition at line 455 of file class.ilECSCmsData.php.
| ilECSCmsData::setObjId | ( | $a_id | ) |
Definition at line 415 of file class.ilECSCmsData.php.
| ilECSCmsData::setServerId | ( | $a_id | ) |
Definition at line 435 of file class.ilECSCmsData.php.
| ilECSCmsData::setStatus | ( | $a_status | ) |
Definition at line 465 of file class.ilECSCmsData.php.
| ilECSCmsData::setTerm | ( | $a_term | ) |
Definition at line 405 of file class.ilECSCmsData.php.
| ilECSCmsData::setTitle | ( | $a_title | ) |
Definition at line 395 of file class.ilECSCmsData.php.
| ilECSCmsData::setTreeId | ( | $a_id | ) |
Definition at line 445 of file class.ilECSCmsData.php.
|
static |
Definition at line 34 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSTreeReader\read().
Here is the caller graph for this function:| ilECSCmsData::update | ( | ) |
Definition at line 510 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, and isDeleted().
Here is the call graph for this function:
|
static |
Definition at line 228 of file class.ilECSCmsData.php.
References ilECSNodeMappingAssignments\lookupAssignmentIds(), lookupCmsIds(), writeAllStatus(), and writeStatus().
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.
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_tree_id | |
| type | $a_deleted_flag |
Definition at line 361 of file class.ilECSCmsData.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSCmsTreeCommandQueueHandler\handleUpdate().
Here is the caller graph for this function:
|
static |
Update status @global $ilDB.
| <type> | $a_server_id |
| <type> | $a_mid |
| <type> | $a_tree_id |
| <type> | $cms_ids |
| <type> | $status |
Definition at line 339 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, and $status.
Referenced by updateStatus().
Here is the caller graph for this function:
|
static |
Update status @global $ilDB.
| <type> | $a_server_id |
| <type> | $a_mid |
| <type> | $a_tree_id |
| <type> | $cms_ids |
| <type> | $status |
Definition at line 313 of file class.ilECSCmsData.php.
References $DIC, $ilDB, $query, and $status.
Referenced by updateStatus().
Here is the caller graph for this function:
|
private |
Definition at line 22 of file class.ilECSCmsData.php.
Referenced by getCmsId(), lookupFirstTreeOfNode(), lookupObjId(), and lookupStatusByCmsId().
|
private |
Definition at line 26 of file class.ilECSCmsData.php.
Referenced by findDeletedNodes(), and isDeleted().
|
private |
Definition at line 20 of file class.ilECSCmsData.php.
Referenced by getMid().
|
private |
Definition at line 18 of file class.ilECSCmsData.php.
Referenced by getObjId(), and lookupStatusByObjId().
|
private |
Definition at line 19 of file class.ilECSCmsData.php.
Referenced by getServerId().
|
private |
Definition at line 25 of file class.ilECSCmsData.php.
Referenced by getStatus(), writeAllStatus(), and writeStatus().
|
private |
Definition at line 24 of file class.ilECSCmsData.php.
Referenced by getTerm().
|
private |
Definition at line 23 of file class.ilECSCmsData.php.
Referenced by getTitle().
|
private |
Definition at line 21 of file class.ilECSCmsData.php.
Referenced by getTreeId().
| const ilECSCmsData::MAPPING_DELETED = 5 |
Definition at line 16 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildFormItem(), ilECSNodeMappingCmsExplorer\buildTitle(), ilECSNodeMappingAssignments\deleteDisconnectableMappings(), and lookupStatusByObjId().
| const ilECSCmsData::MAPPING_MAPPED = 4 |
Definition at line 15 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
| const ilECSCmsData::MAPPING_PENDING_DISCONNECTABLE = 2 |
Definition at line 13 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
| const ilECSCmsData::MAPPING_PENDING_NOT_DISCONNECTABLE = 3 |
Definition at line 14 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), and ilECSNodeMappingAssignments\deleteDisconnectableMappings().
| const ilECSCmsData::MAPPING_UNMAPPED = 1 |
Definition at line 12 of file class.ilECSCmsData.php.
Referenced by ilECSNodeMappingCmsExplorer\buildTitle(), ilECSNodeMappingAssignments\deleteDisconnectableMappings(), lookupStatusByCmsId(), and lookupStatusByObjId().