|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Storage of ECS imported objects. More...
Collaboration diagram for ilECSImport:Public Member Functions | |
| __construct ($a_server_id, $a_obj_id) | |
| Constructor. More... | |
| setServerId ($a_server_id) | |
| getServerId () | |
| setImported ($a_status) | |
| Set imported. More... | |
| setSubId ($a_id) | |
| getSubId () | |
| setContentId ($a_content_id) | |
| Set content id. More... | |
| getContentId () | |
| get content id More... | |
| setMID ($a_mid) | |
| set mid More... | |
| getMID () | |
| get mid More... | |
| setEContentId ($a_id) | |
| set econtent id More... | |
| getEContentId () | |
| get econtent id More... | |
| save () | |
| Save. More... | |
| setECSId ($a_id) | |
Static Public Member Functions | |
| static | 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... | |
| static | lookupObjIdByContentId ($a_server_id, $a_mid, $a_content_id, $a_sub_id=null) |
| Lookup obj_id by content id. More... | |
| static | lookupObjIdsByContentId ($a_content_id) |
| static | lookupEContentIdByContentId ($a_server_id, $a_mid, $a_content_id) |
| Lookup econtent id The econtent id is the unique id from ecs. More... | |
| static | getAllImportedRemoteObjects ($a_server_id) |
| get all imported links More... | |
| static | _lookupObjIdsByMID ($a_server_id, $a_mid) |
| lookup obj ids by mid More... | |
| static | _lookupEContentId ($a_obj_id) |
| get econent_id More... | |
| static | lookupServerId ($a_obj_id) |
| Lookup server id of imported content @global <type> $ilDB. More... | |
| static | _lookupObjIds ($a_server_id, $a_econtent_id) |
| Lookup obj_id. More... | |
| static | _lookupObjId ($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=null) |
| loogup obj_id by econtent and mid and server_id More... | |
| static | _lookupMID ($a_server_id, $a_obj_id) |
| Lookup mid. More... | |
| static | _lookupMIDs ($a_server_id, $a_econtent_id) |
| Lookup mids by. More... | |
| static | _deleteByObjId ($a_obj_id) |
| Delete by obj_id. More... | |
| static | deleteByServer ($a_server_id) |
| Delete by server id @global ilDB $ilDB. More... | |
| static | deleteRessources ($a_server_id, $a_mid, $a_econtent_ids) |
| Delete ressources @global $ilDB. More... | |
| static | _isImported ($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=null) |
| check if econtent is imported for a specific mid More... | |
| static | resetServerId ($a_server_id) |
Protected Attributes | |
| $db = null | |
| $server_id = 0 | |
| $obj_id = 0 | |
| $econtent_id = 0 | |
| $content_id = '' | |
| $sub_id = null | |
| $mid = 0 | |
| $imported = false | |
| $ecs_id = 0 | |
Private Member Functions | |
| read () | |
| Read @access private. More... | |
Storage of ECS imported objects.
This class stores the econent id and informations whether an object is imported or not.
Definition at line 14 of file class.ilECSImport.php.
| ilECSImport::__construct | ( | $a_server_id, | |
| $a_obj_id | |||
| ) |
Constructor.
@access public
| int | $a_server_id | |
| int | $a_obj_id |
Definition at line 34 of file class.ilECSImport.php.
References $DIC, $ilDB, and read().
Here is the call graph for this function:
|
static |
Delete by obj_id.
@access public
| int | obj_id |
Definition at line 346 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilRemoteObjectBase\doDelete().
Here is the caller graph for this function:
|
static |
check if econtent is imported for a specific mid
@access public
| int | econtent id |
| int | mid |
Definition at line 406 of file class.ilECSImport.php.
References _lookupObjId().
Referenced by ilRemoteObjectBase\handleUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get econent_id
@access public
| int | obj_id |
Definition at line 206 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjRemoteCategoryListGUI\getCommandFrame(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteFileListGUI\getCommandFrame(), ilObjRemoteGlossaryListGUI\getCommandFrame(), ilObjRemoteGroupListGUI\getCommandFrame(), ilObjRemoteLearningModuleListGUI\getCommandFrame(), ilObjRemoteTestListGUI\getCommandFrame(), ilObjRemoteWikiListGUI\getCommandFrame(), and ilRemoteObjectBase\isLocalObject().
Here is the caller graph for this function:
|
static |
Lookup mid.
@access public
Definition at line 300 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Lookup mids by.
@access public
| int | econtent_id |
Definition at line 323 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
loogup obj_id by econtent and mid and server_id
@access public
| int | econtent_id |
Definition at line 270 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _isImported().
Here is the caller graph for this function:
|
static |
Lookup obj_id.
@access public
Definition at line 247 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilRemoteObjectBase\handleDelete().
Here is the caller graph for this function:
|
static |
lookup obj ids by mid
@access public
| int | mid |
Definition at line 181 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Delete by server id @global ilDB $ilDB.
| int | $a_server_id |
Definition at line 363 of file class.ilECSImport.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSettingsGUI\doDelete().
Here is the caller graph for this function:
|
static |
Delete ressources @global $ilDB.
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_econtent_ids |
Definition at line 381 of file class.ilECSImport.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSMappingSettingsGUI\dDeleteTree().
Here is the caller graph for this function:
|
static |
get all imported links
@access public
Definition at line 154 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and ilECSUtils\getPossibleRemoteTypes().
Referenced by ilECSEventQueueReader\handleImportReset().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSImport::getContentId | ( | ) |
get content id
Definition at line 456 of file class.ilECSImport.php.
References $content_id.
Referenced by save().
Here is the caller graph for this function:| ilECSImport::getEContentId | ( | ) |
get econtent id
@access public
Definition at line 502 of file class.ilECSImport.php.
References $econtent_id.
| ilECSImport::getMID | ( | ) |
| ilECSImport::getServerId | ( | ) |
Definition at line 416 of file class.ilECSImport.php.
References $server_id.
Referenced by read(), and save().
Here is the caller graph for this function:| ilECSImport::getSubId | ( | ) |
Definition at line 438 of file class.ilECSImport.php.
Referenced by save().
Here is the caller graph for this function:
|
static |
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
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_econtent_id |
Definition at line 55 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Lookup econtent id The econtent id is the unique id from ecs.
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_econtent_id |
Definition at line 130 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\readCourse().
Here is the caller graph for this function:
|
static |
Lookup obj_id by content id.
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_content_id | |
| type | $a_sub_id |
Definition at line 79 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\doUpdate(), ilECSCourseCreationHandler\getImportId(), ilECSCmsTreeSynchronizer\handleTreeUpdate(), and ilECSCmsTreeSynchronizer\syncCategory().
Here is the caller graph for this function:
|
static |
Definition at line 103 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSEnrolmentStatusCommandQueueHandler\doUpdate().
Here is the caller graph for this function:
|
static |
Lookup server id of imported content @global <type> $ilDB.
| <type> | $a_obj_id |
Definition at line 226 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilRemoteObjectBase\createAuthResource(), ilObjRemoteCategoryListGUI\getCommandFrame(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteFileListGUI\getCommandFrame(), ilObjRemoteGlossaryListGUI\getCommandFrame(), ilObjRemoteGroupListGUI\getCommandFrame(), ilObjRemoteLearningModuleListGUI\getCommandFrame(), ilObjRemoteTestListGUI\getCommandFrame(), ilObjRemoteWikiListGUI\getCommandFrame(), ilRemoteObjectBase\getFullRemoteLink(), ilECSAppEventListener\initServer(), ilRemoteObjectBase\isLocalObject(), and ilECSImportedContentTableGUI\parse().
Here is the caller graph for this function:
|
private |
Read @access private.
Definition at line 542 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and getServerId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 560 of file class.ilECSImport.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSetting\delete().
Here is the caller graph for this function:| ilECSImport::save | ( | ) |
Save.
@access public
Definition at line 512 of file class.ilECSImport.php.
References $DIC, $ilDB, $query, $res, getContentId(), getServerId(), and getSubId().
Here is the call graph for this function:| ilECSImport::setContentId | ( | $a_content_id | ) |
Set content id.
| type | $a_content_id |
Definition at line 447 of file class.ilECSImport.php.
| ilECSImport::setEContentId | ( | $a_id | ) |
set econtent id
@access public
| int | econtent id |
Definition at line 491 of file class.ilECSImport.php.
| ilECSImport::setECSId | ( | $a_id | ) |
Definition at line 573 of file class.ilECSImport.php.
| ilECSImport::setImported | ( | $a_status | ) |
Set imported.
@access public
| bool | export status |
Definition at line 428 of file class.ilECSImport.php.
| ilECSImport::setMID | ( | $a_mid | ) |
set mid
@access public
| int | mid |
Definition at line 468 of file class.ilECSImport.php.
| ilECSImport::setServerId | ( | $a_server_id | ) |
Definition at line 411 of file class.ilECSImport.php.
| ilECSImport::setSubId | ( | $a_id | ) |
Definition at line 433 of file class.ilECSImport.php.
|
protected |
Definition at line 21 of file class.ilECSImport.php.
Referenced by getContentId().
|
protected |
Definition at line 16 of file class.ilECSImport.php.
|
protected |
Definition at line 20 of file class.ilECSImport.php.
Referenced by getEContentId().
|
protected |
Definition at line 25 of file class.ilECSImport.php.
|
protected |
Definition at line 24 of file class.ilECSImport.php.
|
protected |
Definition at line 23 of file class.ilECSImport.php.
Referenced by getMID().
|
protected |
Definition at line 19 of file class.ilECSImport.php.
|
protected |
Definition at line 18 of file class.ilECSImport.php.
Referenced by getServerId().
|
protected |
Definition at line 22 of file class.ilECSImport.php.