ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getSubitemsForCreation (int $a_source_id) | |
Get all subitems with mode ilExportOptions::EXPORT_BUILD More... | |
getSubitemsForExport () | |
Get all subitems with mode != self::EXPORT_OMIT. More... | |
getExportId () | |
addOption (int $a_keyword, int $a_ref_id, int $a_obj_id, $a_value) | |
getOption (int $a_keyword) | |
getOptionByObjId (int $a_obj_id, int $a_keyword) | |
Get option by. More... | |
getOptionByRefId (int $a_ref_id, int $a_keyword) | |
Get option by. More... | |
delete () | |
read () | |
Static Public Member Functions | |
static | getInstance () |
static | newInstance (int $a_export_id) |
static | allocateExportId () |
Data Fields | |
const | EXPORT_EXISTING = 1 |
const | EXPORT_BUILD = 2 |
const | EXPORT_OMIT = 3 |
const | KEY_INIT = 1 |
const | KEY_ITEM_MODE = 2 |
const | KEY_ROOT = 3 |
Protected Attributes | |
ilDBInterface | $db |
Private Member Functions | |
__construct (int $a_export_id) | |
Private Attributes | |
int | $export_id = 0 |
array | $ref_options = array() |
array | $obj_options = array() |
array | $options = array() |
Static Private Attributes | |
static ilExportOptions | $instance = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Export options
Definition at line 24 of file class.ilExportOptions.php.
|
private |
ilExportOptions::addOption | ( | int | $a_keyword, |
int | $a_ref_id, | ||
int | $a_obj_id, | ||
$a_value | |||
) |
int | $a_keyword | |
int | $a_ref_id | |
int | $a_obj_id | |
string | int | $a_value |
Definition at line 133 of file class.ilExportOptions.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getExportId(), and ILIAS\Repository\int().
|
static |
Definition at line 67 of file class.ilExportOptions.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjRoleGUI\executeCommand(), and ilExportGUI\saveItemSelection().
ilExportOptions::delete | ( | ) |
Definition at line 187 of file class.ilExportOptions.php.
References $query, and getExportId().
ilExportOptions::getExportId | ( | ) |
Definition at line 122 of file class.ilExportOptions.php.
References $export_id.
Referenced by addOption(), delete(), and read().
|
static |
Definition at line 54 of file class.ilExportOptions.php.
Referenced by ilContainerXmlWriter\__construct(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), ilAccessControlExporter\getXmlRepresentation(), and ilExportOptionsTest\testConstruct().
ilExportOptions::getOption | ( | int | $a_keyword | ) |
ilExportOptions::getOptionByObjId | ( | int | $a_obj_id, |
int | $a_keyword | ||
) |
Get option by.
int | $a_obj_id | |
int | $a_keyword |
Definition at line 171 of file class.ilExportOptions.php.
ilExportOptions::getOptionByRefId | ( | int | $a_ref_id, |
int | $a_keyword | ||
) |
Get option by.
int | $a_obj_id | |
int | $a_keyword |
Definition at line 182 of file class.ilExportOptions.php.
ilExportOptions::getSubitemsForCreation | ( | int | $a_source_id | ) |
Get all subitems with mode ilExportOptions::EXPORT_BUILD
Definition at line 96 of file class.ilExportOptions.php.
References $ref_id.
ilExportOptions::getSubitemsForExport | ( | ) |
Get all subitems with mode != self::EXPORT_OMIT.
Definition at line 111 of file class.ilExportOptions.php.
References $ref_id, and ILIAS\Repository\int().
|
static |
Definition at line 62 of file class.ilExportOptions.php.
Referenced by ilObjRoleGUI\executeCommand(), ilExportGUI\saveItemSelection(), and ilExportOptionsTest\testConstruct().
ilExportOptions::read | ( | ) |
Definition at line 194 of file class.ilExportOptions.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getExportId(), and ILIAS\Repository\int().
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilExportOptions.php.
|
private |
Definition at line 36 of file class.ilExportOptions.php.
Referenced by getExportId().
|
staticprivate |
Definition at line 26 of file class.ilExportOptions.php.
|
private |
Definition at line 38 of file class.ilExportOptions.php.
|
private |
Definition at line 39 of file class.ilExportOptions.php.
|
private |
Definition at line 37 of file class.ilExportOptions.php.
const ilExportOptions::EXPORT_BUILD = 2 |
Definition at line 29 of file class.ilExportOptions.php.
Referenced by ilExportSelectionTableGUI\fillRow(), and ilExportGUI\saveItemSelection().
const ilExportOptions::EXPORT_EXISTING = 1 |
Definition at line 28 of file class.ilExportOptions.php.
Referenced by ilExportSelectionTableGUI\fillRow().
const ilExportOptions::EXPORT_OMIT = 3 |
Definition at line 30 of file class.ilExportOptions.php.
Referenced by ilExportSelectionTableGUI\fillRow(), ilExportGUI\saveItemSelection(), and ilContainerXmlWriter\writeSubitems().
const ilExportOptions::KEY_INIT = 1 |
Definition at line 32 of file class.ilExportOptions.php.
const ilExportOptions::KEY_ITEM_MODE = 2 |
Definition at line 33 of file class.ilExportOptions.php.
Referenced by ilExportGUI\saveItemSelection(), and ilContainerXmlWriter\writeSubitems().
const ilExportOptions::KEY_ROOT = 3 |
Definition at line 34 of file class.ilExportOptions.php.
Referenced by ilObjRoleGUI\executeCommand(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), ilAccessControlExporter\getXmlRepresentation(), and ilExportGUI\saveItemSelection().