ILIAS
release_8 Revision v8.23
|
Storage of an ECS exported object. More...
Public Member Functions | |
__construct (int $a_server_id, int $a_obj_id) | |
getServerId () | |
Get server id. More... | |
setServerId (int $a_server_id) | |
Set server id. More... | |
setExported (bool $a_status) | |
Set exported. More... | |
isExported () | |
check if an object is exported or not More... | |
setEContentId (int $a_id) | |
set econtent id More... | |
getEContentId () | |
get econtent id More... | |
save () | |
Save. More... | |
Protected Attributes | |
ilDBInterface | $db |
int | $server_id = 0 |
int | $obj_id = 0 |
int | $econtent_id = 0 |
bool | $exported = false |
Private Member Functions | |
read () | |
Read. More... | |
Storage of an ECS exported object.
This class stores the econtent id and informations whether an object is exported or not.
Definition at line 26 of file class.ilECSExport.php.
ilECSExport::__construct | ( | int | $a_server_id, |
int | $a_obj_id | ||
) |
ilECSExport::getEContentId | ( | ) |
get econtent id
Definition at line 96 of file class.ilECSExport.php.
References $econtent_id.
Referenced by ilECSObjectSettings\doDelete(), ilECSObjectSettings\doUpdate(), and save().
ilECSExport::getServerId | ( | ) |
Get server id.
Definition at line 49 of file class.ilECSExport.php.
References $server_id.
Referenced by read(), and save().
ilECSExport::isExported | ( | ) |
check if an object is exported or not
Definition at line 76 of file class.ilECSExport.php.
References $exported.
Referenced by ilECSObjectSettings\doDelete(), and save().
|
private |
Read.
Definition at line 127 of file class.ilECSExport.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getServerId(), and ILIAS\Repository\int().
Referenced by __construct().
ilECSExport::save | ( | ) |
Save.
Definition at line 104 of file class.ilECSExport.php.
References $query, getEContentId(), getServerId(), and isExported().
Referenced by ilECSObjectSettings\doAdd(), and ilECSObjectSettings\doDelete().
ilECSExport::setEContentId | ( | int | $a_id | ) |
set econtent id
int | $a_id | econtent id (received from ECS::addResource) |
Definition at line 86 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd().
ilECSExport::setExported | ( | bool | $a_status | ) |
Set exported.
bool | $a_status | export status |
Definition at line 68 of file class.ilECSExport.php.
Referenced by ilECSObjectSettings\doAdd(), and ilECSObjectSettings\doDelete().
ilECSExport::setServerId | ( | int | $a_server_id | ) |
Set server id.
Definition at line 57 of file class.ilECSExport.php.
|
protected |
Definition at line 28 of file class.ilECSExport.php.
|
protected |
Definition at line 32 of file class.ilECSExport.php.
Referenced by getEContentId().
|
protected |
Definition at line 33 of file class.ilECSExport.php.
Referenced by isExported().
|
protected |
Definition at line 31 of file class.ilECSExport.php.
|
protected |
Definition at line 30 of file class.ilECSExport.php.
Referenced by getServerId().