|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Manage the ECS imported contents. More...
Collaboration diagram for ilECSImportManager:Public Member Functions | |
| lookupContentId ($a_server_id, $a_mid, $a_econtent_id) | |
| Lookup content id The content is the - not necessarily unique - id provided by the econtent type. More... | |
| lookupObjIdByContentId (int $a_server_id, int $a_mid, int $a_content_id, ?string $a_sub_id=null) | |
| Lookup obj_id by content id. More... | |
| lookupObjIdsByContentId ($a_content_id) | |
| lookupEContentIdByContentId ($a_server_id, $a_mid, $a_content_id) | |
| Lookup econtent id The econtent id is the unique id from ecs. More... | |
| getAllImportedRemoteObjects ($a_server_id) | |
| get all imported links More... | |
| _lookupObjIdsByMID ($a_server_id, $a_mid) | |
| lookup obj ids by mid More... | |
| _lookupEContentId (int $a_obj_id) | |
| get econent_id More... | |
| lookupServerId (int $a_obj_id) | |
| Lookup server id of imported content. More... | |
| _lookupObjIds ($a_server_id, $a_econtent_id) | |
| Lookup obj_id. More... | |
| _lookupObjId (int $a_server_id, string $a_econtent_id, int $a_mid, ?string $a_sub_id=null) | |
| loogup obj_id by econtent and mid and server_id More... | |
| _deleteByObjId ($a_obj_id) | |
| Delete by obj_id. More... | |
| deleteByServer (int $a_server_id) | |
| Delete by server id. More... | |
| deleteRessources (int $a_server_id, int $a_mid, array $a_econtent_ids) | |
| Delete ressources. More... | |
| _isImported (int $a_server_id, string $a_econtent_id, int $a_mid, ?string $a_sub_id=null) | |
| check if econtent is imported for a specific mid More... | |
| resetServerId ($a_server_id) | |
Static Public Member Functions | |
| static | getInstance () |
| Get the singleton instance of this ilECSImportManager. More... | |
Protected Attributes | |
| ilDBInterface | $db |
Private Member Functions | |
| __construct () | |
Static Private Attributes | |
| static ilECSImportManager | $instance |
Manage the ECS imported contents.
This class contains mainly helper functions to work with imported objects.
Definition at line 26 of file class.ilECSImportManager.php.
|
private |
Definition at line 31 of file class.ilECSImportManager.php.
References $DIC.
| ilECSImportManager::_deleteByObjId | ( | $a_obj_id | ) |
| ilECSImportManager::_isImported | ( | int | $a_server_id, |
| string | $a_econtent_id, | ||
| int | $a_mid, | ||
| ?string | $a_sub_id = null |
||
| ) |
check if econtent is imported for a specific mid
Definition at line 268 of file class.ilECSImportManager.php.
References _lookupObjId().
Here is the call graph for this function:| ilECSImportManager::_lookupEContentId | ( | int | $a_obj_id | ) |
get econent_id
Definition at line 165 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilECSImportManager::_lookupObjId | ( | int | $a_server_id, |
| string | $a_econtent_id, | ||
| int | $a_mid, | ||
| ?string | $a_sub_id = null |
||
| ) |
loogup obj_id by econtent and mid and server_id
Definition at line 207 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _isImported().
Here is the caller graph for this function:| ilECSImportManager::_lookupObjIds | ( | $a_server_id, | |
| $a_econtent_id | |||
| ) |
Lookup obj_id.
Definition at line 192 of file class.ilECSImportManager.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Here is the call graph for this function:| ilECSImportManager::_lookupObjIdsByMID | ( | $a_server_id, | |
| $a_mid | |||
| ) |
lookup obj ids by mid
| int | mid |
Definition at line 148 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilECSImportManager::deleteByServer | ( | int | $a_server_id | ) |
Delete by server id.
Definition at line 243 of file class.ilECSImportManager.php.
| ilECSImportManager::deleteRessources | ( | int | $a_server_id, |
| int | $a_mid, | ||
| array | $a_econtent_ids | ||
| ) |
Delete ressources.
| string[] | $a_econtent_ids |
Definition at line 255 of file class.ilECSImportManager.php.
| ilECSImportManager::getAllImportedRemoteObjects | ( | $a_server_id | ) |
get all imported links
Definition at line 128 of file class.ilECSImportManager.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ilECSUtils\getPossibleRemoteTypes().
Here is the call graph for this function:
|
static |
Get the singleton instance of this ilECSImportManager.
Definition at line 42 of file class.ilECSImportManager.php.
Referenced by ilECSUserConsentModalGUI\__construct(), ilRemoteObjectBase\createAuthResource(), ilECSMappingSettingsGUI\dDeleteTree(), ilECSSetting\delete(), ilObject\delete(), ilRemoteObjectBase\doDelete(), ilECSEnrolmentStatusCommandQueueHandler\doUpdate(), ilECSCmsCourseMemberCommandQueueHandler\doUpdate(), ilObjRemoteCategoryListGUI\getCommandFrame(), ilObjRemoteGroupListGUI\getCommandFrame(), ilObjRemoteWikiListGUI\getCommandFrame(), ilObjRemoteLearningModuleListGUI\getCommandFrame(), ilObjRemoteTestListGUI\getCommandFrame(), ilObjRemoteGlossaryListGUI\getCommandFrame(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteFileListGUI\getCommandFrame(), ilRemoteObjectBase\getFullRemoteLink(), ilECSCourseCreationHandler\getImportId(), ilRemoteObjectBase\handleDelete(), ilECSEventQueueReader\handleImportReset(), ilECSCmsTreeSynchronizer\handleTreeUpdate(), ilRemoteObjectBase\handleUpdate(), ilECSUserConsentModalGUI\initMidAndServer(), ilECSAppEventListener\initServer(), ilRemoteObjectBase\isLocalObject(), ilECSImportedContentTableGUI\parse(), ilECSCmsCourseMemberCommandQueueHandler\readCourse(), and ilECSCmsTreeSynchronizer\syncCategory().
Here is the caller graph for this function:| ilECSImportManager::lookupContentId | ( | $a_server_id, | |
| $a_mid, | |||
| $a_econtent_id | |||
| ) |
Lookup content id The content is the - not necessarily unique - id provided by the econtent type.
The econtent id is the unique id from ecs
Definition at line 56 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilECSImportManager::lookupEContentIdByContentId | ( | $a_server_id, | |
| $a_mid, | |||
| $a_content_id | |||
| ) |
Lookup econtent id The econtent id is the unique id from ecs.
Definition at line 111 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilECSImportManager::lookupObjIdByContentId | ( | int | $a_server_id, |
| int | $a_mid, | ||
| int | $a_content_id, | ||
| ?string | $a_sub_id = null |
||
| ) |
Lookup obj_id by content id.
Definition at line 72 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilECSImportManager::lookupObjIdsByContentId | ( | $a_content_id | ) |
Definition at line 92 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilECSImportManager::lookupServerId | ( | int | $a_obj_id | ) |
Lookup server id of imported content.
Definition at line 178 of file class.ilECSImportManager.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilECSImportManager::resetServerId | ( | $a_server_id | ) |
Definition at line 273 of file class.ilECSImportManager.php.
|
protected |
Definition at line 28 of file class.ilECSImportManager.php.
|
staticprivate |
Definition at line 29 of file class.ilECSImportManager.php.