| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Storage of ECS imported objects. More...
 Collaboration diagram for ilECSImport:
 Collaboration diagram for ilECSImport:| Public Member Functions | |
| __construct ($a_server_id, $a_obj_id) | |
| Constructor. | |
| _lookupObjIds ($a_server_id, $a_econtent_id) | |
| Lookup obj_id. | |
| _lookupMID ($a_server_id, $a_obj_id) | |
| Lookup mid. | |
| setServerId ($a_server_id) | |
| getServerId () | |
| setImported ($a_status) | |
| Set imported. | |
| setSubId ($a_id) | |
| getSubId () | |
| setContentId ($a_content_id) | |
| Set content id. | |
| getContentId () | |
| get content id | |
| setMID ($a_mid) | |
| set mid | |
| getMID () | |
| get mid | |
| setEContentId ($a_id) | |
| set econtent id | |
| getEContentId () | |
| get econtent id | |
| save () | |
| Save. | |
| 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 econten type. | |
| static | lookupObjIdByContentId ($a_server_id, $a_mid, $a_content_id, $a_sub_id= '') | 
| Lookup obj_id by content id. | |
| static | lookupEContentIdByContentId ($a_server_id, $a_mid, $a_content_id) | 
| Lookup econtent id The econtent id is the unique id from ecs. | |
| static | getAllImportedRemoteObjects ($a_server_id) | 
| get all imported links | |
| static | _lookupObjIdsByMID ($a_server_id, $a_mid) | 
| lookup obj ids by mid | |
| static | _lookupEContentId ($a_obj_id) | 
| get econent_id | |
| static | lookupServerId ($a_obj_id) | 
| Lookup server id of imported content  <type> $ilDB. | |
| static | _lookupObjId ($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=NULL) | 
| loogup obj_id by econtent and mid and server_id | |
| static | _lookupMIDs ($a_server_id, $a_econtent_id) | 
| Lookup mids by. | |
| static | _deleteByObjId ($a_obj_id) | 
| Delete by obj_id. | |
| static | deleteByServer ($a_server_id) | 
| Delete by server id  ilDB $ilDB. | |
| static | deleteRessources ($a_server_id, $a_mid, $a_econtent_ids) | 
| Delete ressources  $ilDB. | |
| static | _isImported ($a_server_id, $a_econtent_id, $a_mid, $a_sub_id=0) | 
| check if econtent is imported for a specific mid | |
| static | resetServerId ($a_server_id) | 
| Protected Attributes | |
| $db = null | |
| $server_id = 0 | |
| $obj_id = 0 | |
| $econtent_id = 0 | |
| $content_id = '' | |
| $sub_id = 0 | |
| $mid = 0 | |
| $imported = false | |
| $ecs_id = 0 | |
| Private Member Functions | |
| read () | |
| Read  private. | |
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.
public
| int | $a_server_id | |
| int | $a_obj_id | 
Definition at line 34 of file class.ilECSImport.php.
References read().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Delete by obj_id.
public
| int | obj_id | 
Definition at line 322 of file class.ilECSImport.php.
Referenced by ilObject\delete(), and ilRemoteObjectBase\doDelete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
check if econtent is imported for a specific mid
public
| int | econtent id | 
| int | mid | 
Definition at line 376 of file class.ilECSImport.php.
References _lookupObjId().
Referenced by ilRemoteObjectBase\handleUpdate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get econent_id
public
| int | obj_id | 
Definition at line 184 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjRemoteCategoryListGUI\getCommandFrame(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteGlossaryListGUI\getCommandFrame(), ilObjRemoteTestListGUI\getCommandFrame(), ilObjRemoteWikiListGUI\getCommandFrame(), ilObjRemoteGroupListGUI\getCommandFrame(), ilObjRemoteLearningModuleListGUI\getCommandFrame(), ilObjRemoteFileListGUI\getCommandFrame(), and ilRemoteObjectBase\isLocalObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::_lookupMID | ( | $a_server_id, | |
| $a_obj_id | |||
| ) | 
Lookup mid.
public
Definition at line 277 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
| 
 | static | 
Lookup mids by.
public
| int | econtent_id | 
Definition at line 300 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
| 
 | static | 
loogup obj_id by econtent and mid and server_id
public
| int | econtent_id | 
Definition at line 245 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _isImported(), ilECSCmsTreeSynchronizer\handleTreeUpdate(), and ilECSCmsTreeSynchronizer\syncCategory().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::_lookupObjIds | ( | $a_server_id, | |
| $a_econtent_id | |||
| ) | 
Lookup obj_id.
public
Definition at line 223 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilRemoteObjectBase\handleDelete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
lookup obj ids by mid
public
| int | mid | 
Definition at line 160 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
| 
 | static | 
Delete by server id ilDB $ilDB.
| int | $a_server_id | 
Definition at line 337 of file class.ilECSImport.php.
References $query.
Referenced by ilECSSettingsGUI\doDelete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete ressources $ilDB.
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_econtent_ids | 
Definition at line 353 of file class.ilECSImport.php.
References $query.
Referenced by ilECSMappingSettingsGUI\dDeleteTree().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get all imported links
public
Definition at line 134 of file class.ilECSImport.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and ilECSUtils\getPossibleRemoteTypes().
Referenced by ilECSEventQueueReader\handleImportReset().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::getContentId | ( | ) | 
get content id
Definition at line 426 of file class.ilECSImport.php.
References $content_id.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::getEContentId | ( | ) | 
get econtent id
public
Definition at line 472 of file class.ilECSImport.php.
References $econtent_id.
| ilECSImport::getMID | ( | ) | 
| ilECSImport::getServerId | ( | ) | 
Definition at line 386 of file class.ilECSImport.php.
References $server_id.
Referenced by read(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::getSubId | ( | ) | 
Definition at line 408 of file class.ilECSImport.php.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup content id The content is the - not necessarily unique - id provided by the econten type.
The econtent id is the unique id from ecs
| type | $a_server_id | |
| type | $a_mid | |
| type | $a_econtent_id | 
Definition at line 53 of file class.ilECSImport.php.
References $query, $res, $row, and DB_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 111 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\readCourse().
 Here is the caller graph for this function:
 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 76 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\doUpdate(), and ilECSCourseCreationHandler\getImportId().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup server id of imported content <type> $ilDB.
| <type> | $a_obj_id | 
Definition at line 203 of file class.ilECSImport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilRemoteObjectBase\createAuthResource(), ilObjRemoteCategoryListGUI\getCommandFrame(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteGlossaryListGUI\getCommandFrame(), ilObjRemoteWikiListGUI\getCommandFrame(), ilObjRemoteGroupListGUI\getCommandFrame(), ilObjRemoteLearningModuleListGUI\getCommandFrame(), ilObjRemoteTestListGUI\getCommandFrame(), ilObjRemoteFileListGUI\getCommandFrame(), ilRemoteObjectBase\getFullRemoteLink(), ilECSAppEventListener\handleEvent(), ilECSObjectSettings\isActive(), ilRemoteObjectBase\isLocalObject(), and ilECSImportedContentTableGUI\parse().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Read private.
Definition at line 510 of file class.ilECSImport.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and getServerId().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 527 of file class.ilECSImport.php.
References $query.
Referenced by ilECSSetting\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::save | ( | ) | 
Save.
public
Definition at line 482 of file class.ilECSImport.php.
References $query, $res, getContentId(), getServerId(), and getSubId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilECSImport::setContentId | ( | $a_content_id | ) | 
Set content id.
| type | $a_content_id | 
Definition at line 417 of file class.ilECSImport.php.
| ilECSImport::setEContentId | ( | $a_id | ) | 
set econtent id
public
| int | econtent id | 
Definition at line 461 of file class.ilECSImport.php.
Referenced by ilRemoteObjectBase\handleUpdate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::setECSId | ( | $a_id | ) | 
Definition at line 538 of file class.ilECSImport.php.
| ilECSImport::setImported | ( | $a_status | ) | 
Set imported.
public
| bool | export status | 
Definition at line 398 of file class.ilECSImport.php.
| ilECSImport::setMID | ( | $a_mid | ) | 
set mid
public
| int | mid | 
Definition at line 438 of file class.ilECSImport.php.
Referenced by ilECSCmsTreeSynchronizer\syncCategory(), and ilECSCourseCreationHandler\syncCategory().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSImport::setServerId | ( | $a_server_id | ) | 
Definition at line 381 of file class.ilECSImport.php.
| ilECSImport::setSubId | ( | $a_id | ) | 
Definition at line 403 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.