ILIAS
Release_5_0_x_branch Revision 61816
|
Storage of ECS exported objects. More...
Public Member Functions | |
__construct ($a_server_id, $a_obj_id) | |
Constructor. | |
getServerId () | |
Get server id. | |
setServerId ($a_server_id) | |
Set server id. | |
setExported ($a_status) | |
Set exported. | |
isExported () | |
check if an object is exported or not | |
setEContentId ($a_id) | |
set econtent id | |
getEContentId () | |
get econtent id | |
save () | |
Save. |
Static Public Member Functions | |
static | _isExported ($a_obj_id) |
Check if object is exported. | |
static | _getAllEContentIds ($a_server_id) |
get all exported econtent ids per server | |
static | getExportedIds () |
Get exported ids ilDB $ilDB. | |
static | getExportedIdsByType ($a_type) |
Get exported ids by type ilDB $ilDB. | |
static | getExportServerIds ($a_obj_id) |
lookup server ids of exported materials ilDB $ilDB | |
static | _getExportedIDsByServer ($a_server_id) |
get exported ids for server | |
static | lookupServerIds ($a_obj_id) |
Lookup server ids of exported objects ilDB $ilDB. | |
static | _deleteEContentIds ($a_server_id, $a_ids) |
Delete econtent ids for server. | |
static | deleteByServer ($a_server_id) |
Delete by server id ilDB $ilDB. | |
static | _isRemote ($a_server_id, $a_econtent_id) |
is remote object | |
static | deleteByServerId ($a_server_id) |
Protected Attributes | |
$db = null | |
$server_id = 0 | |
$obj_id = 0 | |
$econtent_id = 0 | |
$exported = false |
Private Member Functions | |
read () | |
Read private. |
Storage of ECS exported objects.
This class stores the econent id and informations whether an object is exported or not.
Definition at line 34 of file class.ilECSExport.php.
ilECSExport::__construct | ( | $a_server_id, | |
$a_obj_id | |||
) |
|
static |
Delete econtent ids for server.
public
array | array of econtent ids |
Definition at line 228 of file class.ilECSExport.php.
References $ilDB, $query, and $res.
Referenced by ilECSEventQueueReader\handleExportReset().
|
static |
get all exported econtent ids per server
public
Definition at line 106 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSEventQueueReader\handleExportReset().
|
static |
get exported ids for server
public
Definition at line 186 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
|
static |
Check if object is exported.
int | $a_obj_id |
Definition at line 84 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\addSettingsToForm().
|
static |
is remote object
public
int | econtent_id |
Definition at line 265 of file class.ilECSExport.php.
References $ilDB, $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().
|
static |
Delete by server id ilDB $ilDB.
int | $a_server_id |
Definition at line 248 of file class.ilECSExport.php.
Referenced by ilECSSettingsGUI\doDelete().
|
static |
Definition at line 374 of file class.ilECSExport.php.
Referenced by ilECSSetting\delete().
ilECSExport::getEContentId | ( | ) |
get econtent id
public
Definition at line 322 of file class.ilECSExport.php.
References $econtent_id.
Referenced by ilECSObjectSettings\doDelete(), ilECSObjectSettings\doUpdate(), and save().
|
static |
Get exported ids ilDB $ilDB.
Definition at line 126 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), and ilECSSettingsGUI\exportReleased().
|
static |
Get exported ids by type ilDB $ilDB.
Definition at line 143 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSSettingsGUI\released().
|
static |
lookup server ids of exported materials ilDB $ilDB
int | $a_obj_id |
Definition at line 163 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), ilECSObjectSettings\addSettingsToForm(), and ilECSObjectSettings\handleContentUpdate().
ilECSExport::getServerId | ( | ) |
Get server id.
Definition at line 65 of file class.ilECSExport.php.
References $server_id.
Referenced by read(), and save().
ilECSExport::isExported | ( | ) |
check if an object is exported or not
public
Definition at line 298 of file class.ilECSExport.php.
References $exported.
Referenced by ilECSObjectSettings\doDelete(), and save().
|
static |
Lookup server ids of exported objects ilDB $ilDB.
<type> | $a_obj_id |
Definition at line 205 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSReleasedContentTableGUI\parse().
|
private |
Read private.
Definition at line 359 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getServerId().
Referenced by __construct().
ilECSExport::save | ( | ) |
Save.
public
Definition at line 332 of file class.ilECSExport.php.
References $ilDB, $query, $res, getEContentId(), getServerId(), and isExported().
Referenced by ilECSObjectSettings\doAdd(), and ilECSObjectSettings\doDelete().
ilECSExport::setEContentId | ( | $a_id | ) |
set econtent id
public
int | econtent id (received from ECS::addResource) |
Definition at line 310 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd().
ilECSExport::setExported | ( | $a_status | ) |
Set exported.
public
bool | export status |
Definition at line 287 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd(), and ilECSObjectSettings\doDelete().
ilECSExport::setServerId | ( | $a_server_id | ) |
Set server id.
int | $a_server_id |
Definition at line 74 of file class.ilECSExport.php.
|
protected |
Definition at line 36 of file class.ilECSExport.php.
|
protected |
Definition at line 40 of file class.ilECSExport.php.
Referenced by getEContentId().
|
protected |
Definition at line 41 of file class.ilECSExport.php.
Referenced by isExported().
|
protected |
Definition at line 39 of file class.ilECSExport.php.
|
protected |
Definition at line 38 of file class.ilECSExport.php.
Referenced by getServerId().