ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Storage of ECS exported objects. More...
Public Member Functions | |
__construct ($a_server_id, $a_obj_id) | |
Constructor. More... | |
getServerId () | |
Get server id. More... | |
setServerId ($a_server_id) | |
Set server id. More... | |
setExported ($a_status) | |
Set exported. More... | |
isExported () | |
check if an object is exported or not More... | |
setEContentId ($a_id) | |
set econtent id More... | |
getEContentId () | |
get econtent id More... | |
save () | |
Save. More... | |
Static Public Member Functions | |
static | _isExported ($a_obj_id) |
Check if object is exported. More... | |
static | _getAllEContentIds ($a_server_id) |
get all exported econtent ids per server More... | |
static | getExportedIds () |
Get exported ids ilDB $ilDB. More... | |
static | getExportedIdsByType ($a_type) |
Get exported ids by type ilDB $ilDB. More... | |
static | getExportServerIds ($a_obj_id) |
lookup server ids of exported materials ilDB $ilDB More... | |
static | _getExportedIDsByServer ($a_server_id) |
get exported ids for server More... | |
static | lookupServerIds ($a_obj_id) |
Lookup server ids of exported objects ilDB $ilDB. More... | |
static | _deleteEContentIds ($a_server_id, $a_ids) |
Delete econtent ids for server. More... | |
static | deleteByServer ($a_server_id) |
Delete by server id ilDB $ilDB. More... | |
static | _isRemote ($a_server_id, $a_econtent_id) |
is remote object More... | |
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. More... | |
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 | |||
) |
Constructor.
public
Definition at line 50 of file class.ilECSExport.php.
References $DIC, $ilDB, and read().
|
static |
Delete econtent ids for server.
public
array | array of econtent ids |
Definition at line 237 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilECSEventQueueReader\handleExportReset().
|
static |
get all exported econtent ids per server
public
Definition at line 109 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSEventQueueReader\handleExportReset().
|
static |
get exported ids for server
public
Definition at line 193 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Check if object is exported.
int | $a_obj_id |
Definition at line 86 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\addSettingsToForm().
|
static |
is remote object
public
int | econtent_id |
Definition at line 277 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\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 258 of file class.ilECSExport.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSettingsGUI\doDelete().
|
static |
Definition at line 389 of file class.ilECSExport.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSetting\delete().
ilECSExport::getEContentId | ( | ) |
get econtent id
public
Definition at line 335 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 130 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), and ilECSSettingsGUI\exportReleased().
|
static |
Get exported ids by type ilDB $ilDB.
Definition at line 148 of file class.ilECSExport.php.
References $a_type, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSSettingsGUI\released().
|
static |
lookup server ids of exported materials ilDB $ilDB
int | $a_obj_id |
Definition at line 169 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), ilECSObjectSettings\addSettingsToForm(), and ilECSObjectSettings\handleContentUpdate().
ilECSExport::getServerId | ( | ) |
Get server id.
Definition at line 67 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 311 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 213 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSReleasedContentTableGUI\parse().
|
private |
Read private.
Definition at line 373 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and getServerId().
Referenced by __construct().
ilECSExport::save | ( | ) |
Save.
public
Definition at line 345 of file class.ilECSExport.php.
References $DIC, $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 323 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd().
ilECSExport::setExported | ( | $a_status | ) |
Set exported.
public
bool | export status |
Definition at line 300 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd(), and ilECSObjectSettings\doDelete().
ilECSExport::setServerId | ( | $a_server_id | ) |
|
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().