| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Storage of ECS exported objects. More...
 Collaboration diagram for ilECSExport:
 Collaboration diagram for ilECSExport:| 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 | |||
| ) | 
Constructor.
public
Definition at line 50 of file class.ilECSExport.php.
References read().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Delete econtent ids for server.
public
| array | array of econtent ids | 
Definition at line 228 of file class.ilECSExport.php.
Referenced by ilECSEventQueueReader\handleExportReset().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get all exported econtent ids per server
public
Definition at line 106 of file class.ilECSExport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSEventQueueReader\handleExportReset().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get exported ids for server
public
Definition at line 186 of file class.ilECSExport.php.
References $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 $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\addSettingsToForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
is remote object
public
| int | econtent_id | 
Definition at line 265 of file class.ilECSExport.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:| 
 | static | 
Delete by server id ilDB $ilDB.
| int | $a_server_id | 
Definition at line 248 of file class.ilECSExport.php.
References $query.
Referenced by ilECSSettingsGUI\doDelete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 374 of file class.ilECSExport.php.
References $query.
Referenced by ilECSSetting\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get exported ids ilDB $ilDB.
Definition at line 126 of file class.ilECSExport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), and ilECSSettingsGUI\exportReleased().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get exported ids by type ilDB $ilDB.
Definition at line 143 of file class.ilECSExport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSSettingsGUI\released().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
lookup server ids of exported materials ilDB $ilDB
| int | $a_obj_id | 
Definition at line 163 of file class.ilECSExport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\_handleDelete(), ilECSObjectSettings\addSettingsToForm(), and ilECSObjectSettings\handleContentUpdate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSExport::getServerId | ( | ) | 
Get server id.
Definition at line 65 of file class.ilECSExport.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:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup server ids of exported objects ilDB $ilDB.
| <type> | $a_obj_id | 
Definition at line 205 of file class.ilECSExport.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSReleasedContentTableGUI\parse().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Read private.
Definition at line 359 of file class.ilECSExport.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:| ilECSExport::save | ( | ) | 
Save.
public
Definition at line 332 of file class.ilECSExport.php.
References $query, $res, getEContentId(), getServerId(), and isExported().
Referenced by ilECSObjectSettings\doAdd(), and ilECSObjectSettings\doDelete().
 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:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().