|
ILIAS
Release_4_2_x_branch Revision 61807
|
Storage of ECS exported objects. More...
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 | 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 | |
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 209 of file class.ilECSExport.php.
References $ilDB, $query, and $res.
Referenced by ilECSEventQueueReader\handleExportReset().
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 $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSEventQueueReader\handleExportReset().
Here is the caller graph for this function:
|
static |
get exported ids for server
public
Definition at line 167 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 ilObjCourseGUI\fillECSExportSettings().
Here is the caller graph for this function:
|
static |
is remote object
public
| int | econtent_id |
Definition at line 246 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjRemoteCourseListGUI\getCommandFrame(), ilObjRemoteCourseGUI\infoScreen(), and ilObjRemoteCourseGUI\showObject().
Here is the caller graph for this function:
|
static |
Delete by server id ilDB $ilDB.
| int | $a_server_id |
Definition at line 229 of file class.ilECSExport.php.
Referenced by ilECSSettingsGUI\doDelete().
Here is the caller graph for this function:| ilECSExport::getEContentId | ( | ) |
get econtent id
public
Definition at line 303 of file class.ilECSExport.php.
References $econtent_id.
Referenced by ilObjCourseGUI\fillECSExportSettings(), and save().
Here is the caller graph for this function:
|
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 ilECSContentWriter\_handleDelete(), and ilECSSettingsGUI\exportReleased().
Here is the caller graph for this function:
|
static |
lookup server ids of exported materials ilDB $ilDB
| int | $a_obj_id |
Definition at line 144 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSContentWriter\_handleDelete(), ilObjCourseGUI\fillECSExportSettings(), and ilObjCourse\updateECSContent().
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:| ilECSExport::isExported | ( | ) |
check if an object is exported or not
public
Definition at line 279 of file class.ilECSExport.php.
References $exported.
Referenced by save().
Here is the caller graph for this function:
|
static |
Lookup server ids of exported objects ilDB $ilDB.
| <type> | $a_obj_id |
Definition at line 186 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSReleasedContentTableGUI\parse().
Here is the caller graph for this function:
|
private |
Read private.
Definition at line 340 of file class.ilECSExport.php.
References $ilDB, $query, $res, $row, DB_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.
public
Definition at line 313 of file class.ilECSExport.php.
References $ilDB, $query, $res, getEContentId(), getServerId(), and isExported().
Here is the call graph for this function:| ilECSExport::setEContentId | ( | $a_id | ) |
set econtent id
public
| int | econtent id (received from ECS::addResource) |
Definition at line 291 of file class.ilECSExport.php.
| ilECSExport::setExported | ( | $a_status | ) |
Set exported.
public
| bool | export status |
Definition at line 268 of file class.ilECSExport.php.
| 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().