|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Storage of ECS exported objects. More...
Collaboration diagram for ilECSExport: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 @global ilDB $ilDB. More... | |
| static | getExportedIdsByType ($a_type) |
| Get exported ids by type @global ilDB $ilDB. More... | |
| static | getExportServerIds ($a_obj_id) |
| lookup server ids of exported materials @global 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 @global 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 @global 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 @access 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.
@access public
Definition at line 50 of file class.ilECSExport.php.
References $DIC, $ilDB, and read().
Here is the call graph for this function:
|
static |
Delete econtent ids for server.
@access 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().
Here is the caller graph for this function:
|
static |
get all exported econtent ids per server
@access public
Definition at line 109 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSEventQueueReader\handleExportReset().
Here is the caller graph for this function:
|
static |
get exported ids for server
@access public
Definition at line 193 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, 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, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\addSettingsToForm().
Here is the caller graph for this function:
|
static |
is remote object
@access public
| int | econtent_id |
Definition at line 277 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, 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 |
Delete by server id @global ilDB $ilDB.
| int | $a_server_id |
Definition at line 258 of file class.ilECSExport.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSettingsGUI\doDelete().
Here is the caller graph for this function:
|
static |
Definition at line 389 of file class.ilECSExport.php.
References $DIC, $ilDB, and $query.
Referenced by ilECSSetting\delete().
Here is the caller graph for this function:| ilECSExport::getEContentId | ( | ) |
get econtent id
@access public
Definition at line 335 of file class.ilECSExport.php.
References $econtent_id.
Referenced by ilECSObjectSettings\doDelete(), ilECSObjectSettings\doUpdate(), and save().
Here is the caller graph for this function:
|
static |
Get exported ids @global ilDB $ilDB.
Definition at line 130 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), and ilECSSettingsGUI\exportReleased().
Here is the caller graph for this function:
|
static |
Get exported ids by type @global ilDB $ilDB.
Definition at line 148 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSSettingsGUI\released().
Here is the caller graph for this function:
|
static |
lookup server ids of exported materials @global ilDB $ilDB
| int | $a_obj_id |
Definition at line 169 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), ilECSObjectSettings\addSettingsToForm(), and ilECSObjectSettings\handleContentUpdate().
Here is the caller graph for this function:| ilECSExport::getServerId | ( | ) |
Get server id.
Definition at line 67 of file class.ilECSExport.php.
References $server_id.
Referenced by read(), and save().
Here is the caller graph for this function:| ilECSExport::isExported | ( | ) |
check if an object is exported or not
@access public
Definition at line 311 of file class.ilECSExport.php.
References $exported.
Referenced by ilECSObjectSettings\doDelete(), and save().
Here is the caller graph for this function:
|
static |
Lookup server ids of exported objects @global ilDB $ilDB.
| <type> | $a_obj_id |
Definition at line 213 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSReleasedContentTableGUI\parse().
Here is the caller graph for this function:
|
private |
Read @access private.
Definition at line 373 of file class.ilECSExport.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and getServerId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSExport::save | ( | ) |
Save.
@access 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSExport::setEContentId | ( | $a_id | ) |
set econtent id
@access public
| int | econtent id (received from ECS::addResource) |
Definition at line 323 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd().
Here is the caller graph for this function:| ilECSExport::setExported | ( | $a_status | ) |
Set exported.
@access public
| bool | export status |
Definition at line 300 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd(), and ilECSObjectSettings\doDelete().
Here is the caller graph for this function:| ilECSExport::setServerId | ( | $a_server_id | ) |
Set server id.
| int | $a_server_id |
Definition at line 76 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().