|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilExportOptions: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) | |
| addOptions (int $parent_ref_id, ilObjectDefinition $object_definition, ilAccessHandler $il_access, array $child_nodes, array $cp_options) | |
| 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 $res, ilDBConstants\FETCHMODE_OBJECT, getExportId(), ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Referenced by addOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExportOptions::addOptions | ( | int | $parent_ref_id, |
| ilObjectDefinition | $object_definition, | ||
| ilAccessHandler | $il_access, | ||
| array | $child_nodes, | ||
| array | $cp_options | ||
| ) |
Definition at line 156 of file class.ilExportOptions.php.
References $DIC, addOption(), ilObjectDefinition\allowExport(), ilRBACAccessHandler\checkAccess(), EXPORT_BUILD, EXPORT_OMIT, and KEY_ITEM_MODE.
Here is the call graph for this function:
|
static |
Definition at line 67 of file class.ilExportOptions.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilExportGUI\createXMLContainerExport(), and ilObjRoleGUI\executeCommand().
Here is the caller graph for this function:| ilExportOptions::delete | ( | ) |
Definition at line 238 of file class.ilExportOptions.php.
References getExportId(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ilExportOptions::getExportId | ( | ) |
Definition at line 122 of file class.ilExportOptions.php.
References $export_id.
Referenced by addOption(), delete(), and read().
Here is the caller graph for this function:
|
static |
Definition at line 54 of file class.ilExportOptions.php.
Referenced by ilContainerXmlWriter\__construct(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), ilAccessControlExporter\getXmlRepresentation(), and ilExportOptionsTest\testConstruct().
Here is the caller graph for this function:| 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 222 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 233 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().
Here is the call graph for this function:
|
static |
Definition at line 62 of file class.ilExportOptions.php.
Referenced by ilExportGUI\createXMLContainerExport(), ilObjRoleGUI\executeCommand(), and ilExportOptionsTest\testConstruct().
Here is the caller graph for this function:| ilExportOptions::read | ( | ) |
Definition at line 245 of file class.ilExportOptions.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, getExportId(), ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 addOptions(), ilExportGUI\createXMLContainerExport(), and ilExportSelectionTableGUI\fillRow().
| const ilExportOptions::EXPORT_EXISTING = 1 |
Definition at line 28 of file class.ilExportOptions.php.
Referenced by ilExportGUI\createXMLContainerExport(), and ilExportSelectionTableGUI\fillRow().
| const ilExportOptions::EXPORT_OMIT = 3 |
Definition at line 30 of file class.ilExportOptions.php.
Referenced by addOptions(), ilExportGUI\createXMLContainerExport(), ilExportSelectionTableGUI\fillRow(), 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 addOptions(), and ilContainerXmlWriter\writeSubitems().
| const ilExportOptions::KEY_ROOT = 3 |
Definition at line 34 of file class.ilExportOptions.php.
Referenced by ilExportGUI\createXMLContainerExport(), ilObjRoleGUI\executeCommand(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), and ilAccessControlExporter\getXmlRepresentation().