ILIAS
Release_4_2_x_branch Revision 61807
|
Storage of ECS imported objects. More...
Public Member Functions | |
__construct ($a_server_id, $a_obj_id) | |
Constructor. | |
_lookupObjIds ($a_server_id, $a_econtent_id) | |
lookup obj_id | |
_lookupObjId ($a_server_id, $a_econtent_id, $a_mid) | |
loogup obj_id by econtent and mid and server_id | |
_lookupMID ($a_server_id, $a_obj_id) | |
Lookup mid. | |
setServerId ($a_server_id) | |
getServerId () | |
setImported ($a_status) | |
Set exported. | |
setMID ($a_mid) | |
set mid | |
getMID () | |
get mid | |
setEContentId ($a_id) | |
set econtent id | |
getEContentId () | |
get econtent id | |
save () | |
Save. |
Static Public Member Functions | |
static | _getAllImportedLinks ($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 | _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 | _isImported ($a_server_id, $a_econtent_id, $a_mid) |
check if econtent is imported for a specific mid |
Protected Attributes | |
$db = null | |
$server_id = 0 | |
$obj_id = 0 | |
$econtent_id = 0 | |
$mid = 0 | |
$imported = false |
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 34 of file class.ilECSImport.php.
ilECSImport::__construct | ( | $a_server_id, | |
$a_obj_id | |||
) |
|
static |
Delete by obj_id.
public
int | obj_id |
Definition at line 243 of file class.ilECSImport.php.
References $ilDB, $query, and $res.
Referenced by ilObjRemoteCourse\delete().
|
static |
get all imported links
public
Definition at line 68 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSEventQueueReader\handleImportReset().
|
static |
check if econtent is imported for a specific mid
public
int | econtent id |
int | mid |
Definition at line 278 of file class.ilECSImport.php.
References _lookupObjId().
Referenced by ilECSTaskScheduler\handleUpdate().
|
static |
get econent_id
public
int | obj_id |
Definition at line 115 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteCourseGUI\infoScreen(), and ilObjRemoteCourseGUI\showObject().
ilECSImport::_lookupMID | ( | $a_server_id, | |
$a_obj_id | |||
) |
Lookup mid.
public
Definition at line 198 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
|
static |
Lookup mids by.
public
int | econtent_id |
Definition at line 221 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
ilECSImport::_lookupObjId | ( | $a_server_id, | |
$a_econtent_id, | |||
$a_mid | |||
) |
loogup obj_id by econtent and mid and server_id
public
int | econtent_id |
Definition at line 176 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _isImported(), and ilECSTaskScheduler\handleDelete().
ilECSImport::_lookupObjIds | ( | $a_server_id, | |
$a_econtent_id | |||
) |
lookup obj_id
public
Definition at line 154 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSTaskScheduler\handleDelete().
|
static |
lookup obj ids by mid
public
int | mid |
Definition at line 91 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getServerId().
|
static |
Delete by server id ilDB $ilDB.
int | $a_server_id |
Definition at line 258 of file class.ilECSImport.php.
Referenced by ilECSSettingsGUI\doDelete().
ilECSImport::getEContentId | ( | ) |
get econtent id
public
Definition at line 346 of file class.ilECSImport.php.
References $econtent_id.
ilECSImport::getMID | ( | ) |
ilECSImport::getServerId | ( | ) |
Definition at line 288 of file class.ilECSImport.php.
References $server_id.
Referenced by _lookupObjIdsByMID(), read(), and save().
|
static |
Lookup server id of imported content <type> $ilDB.
<type> | $a_obj_id |
Definition at line 134 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjRemoteCourse\createAuthResource(), ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteCourseGUI\infoScreen(), ilECSImportedContentTableGUI\parse(), and ilObjRemoteCourseGUI\showObject().
|
private |
Read private.
Definition at line 381 of file class.ilECSImport.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getServerId().
Referenced by __construct().
ilECSImport::save | ( | ) |
Save.
public
Definition at line 356 of file class.ilECSImport.php.
References $ilDB, $query, $res, and getServerId().
ilECSImport::setEContentId | ( | $a_id | ) |
set econtent id
public
int | econtent id |
Definition at line 335 of file class.ilECSImport.php.
ilECSImport::setImported | ( | $a_status | ) |
Set exported.
public
bool | export status |
Definition at line 300 of file class.ilECSImport.php.
ilECSImport::setMID | ( | $a_mid | ) |
set mid
public
int | mid |
Definition at line 312 of file class.ilECSImport.php.
ilECSImport::setServerId | ( | $a_server_id | ) |
Definition at line 283 of file class.ilECSImport.php.
|
protected |
Definition at line 36 of file class.ilECSImport.php.
|
protected |
Definition at line 40 of file class.ilECSImport.php.
Referenced by getEContentId().
|
protected |
Definition at line 42 of file class.ilECSImport.php.
|
protected |
Definition at line 41 of file class.ilECSImport.php.
Referenced by getMID().
|
protected |
Definition at line 39 of file class.ilECSImport.php.
|
protected |
Definition at line 38 of file class.ilECSImport.php.
Referenced by getServerId().