ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Export options. More...
Public Member Functions | |
getSubitemsForCreation ($a_source_id) | |
Get all subitems with mode ilExportOptions::EXPORT_BUILD More... | |
getSubitemsForExport () | |
Get all subitems with mode != self::EXPORT_OMIT. More... | |
getExportId () | |
Get export id. More... | |
addOption ($a_keyword, $a_ref_id, $a_obj_id, $a_value) | |
getOption ($a_keyword) | |
Get option. More... | |
getOptionByObjId ($a_obj_id, $a_keyword) | |
Get option by. More... | |
getOptionByRefId ($a_ref_id, $a_keyword) | |
Get option by. More... | |
delete () | |
Delete by export id. More... | |
read () | |
Read entries. More... | |
Static Public Member Functions | |
static | getInstance () |
Get singelton instance. More... | |
static | newInstance ($a_export_id) |
Create new instance. More... | |
static | allocateExportId () |
Allocate a new export id. More... | |
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 |
Private Member Functions | |
__construct ($a_export_id) | |
Singleton constructor. More... | |
Private Attributes | |
$export_id = 0 | |
$ref_options = array() | |
$obj_options = array() | |
$options = array() | |
Static Private Attributes | |
static | $instance = null |
|
private |
Singleton constructor.
Definition at line 34 of file class.ilExportOptions.php.
References read().
ilExportOptions::addOption | ( | $a_keyword, | |
$a_ref_id, | |||
$a_obj_id, | |||
$a_value | |||
) |
Definition at line 131 of file class.ilExportOptions.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and getExportId().
|
static |
Allocate a new export id.
Definition at line 65 of file class.ilExportOptions.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjRoleGUI\executeCommand(), and ilExportGUI\saveItemSelection().
ilExportOptions::delete | ( | ) |
Delete by export id.
Definition at line 192 of file class.ilExportOptions.php.
References $ilDB, $query, and getExportId().
ilExportOptions::getExportId | ( | ) |
Get export id.
Definition at line 126 of file class.ilExportOptions.php.
References $export_id.
Referenced by addOption(), delete(), and read().
|
static |
Get singelton instance.
Definition at line 44 of file class.ilExportOptions.php.
Referenced by ilContainerXmlWriter\__construct(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), and ilAccessControlExporter\getXmlRepresentation().
ilExportOptions::getOption | ( | $a_keyword | ) |
Get option.
object | $a_keyword |
Definition at line 161 of file class.ilExportOptions.php.
ilExportOptions::getOptionByObjId | ( | $a_obj_id, | |
$a_keyword | |||
) |
Get option by.
object | $a_obj_id | |
object | $a_keyword |
Definition at line 172 of file class.ilExportOptions.php.
ilExportOptions::getOptionByRefId | ( | $a_ref_id, | |
$a_keyword | |||
) |
Get option by.
object | $a_obj_id | |
object | $a_keyword |
Definition at line 183 of file class.ilExportOptions.php.
ilExportOptions::getSubitemsForCreation | ( | $a_source_id | ) |
Get all subitems with mode ilExportOptions::EXPORT_BUILD
int | ref_id of source |
Definition at line 95 of file class.ilExportOptions.php.
References array.
ilExportOptions::getSubitemsForExport | ( | ) |
Get all subitems with mode != self::EXPORT_OMIT.
Definition at line 111 of file class.ilExportOptions.php.
References array.
|
static |
Create new instance.
object | $a_export_id |
Definition at line 56 of file class.ilExportOptions.php.
Referenced by ilObjRoleGUI\executeCommand(), and ilExportGUI\saveItemSelection().
ilExportOptions::read | ( | ) |
Read entries.
Definition at line 206 of file class.ilExportOptions.php.
References $ilDB, $query, $res, $row, array, ilDBConstants\FETCHMODE_OBJECT, and getExportId().
Referenced by __construct().
|
private |
Definition at line 25 of file class.ilExportOptions.php.
Referenced by getExportId().
|
staticprivate |
Definition at line 15 of file class.ilExportOptions.php.
|
private |
Definition at line 27 of file class.ilExportOptions.php.
|
private |
Definition at line 28 of file class.ilExportOptions.php.
|
private |
Definition at line 26 of file class.ilExportOptions.php.
const ilExportOptions::EXPORT_BUILD = 2 |
Definition at line 18 of file class.ilExportOptions.php.
Referenced by ilExportSelectionTableGUI\fillRow(), and ilExportGUI\saveItemSelection().
const ilExportOptions::EXPORT_EXISTING = 1 |
Definition at line 17 of file class.ilExportOptions.php.
Referenced by ilExportSelectionTableGUI\fillRow().
const ilExportOptions::EXPORT_OMIT = 3 |
Definition at line 19 of file class.ilExportOptions.php.
Referenced by ilExportSelectionTableGUI\fillRow(), ilExportGUI\saveItemSelection(), and ilContainerXmlWriter\writeSubitems().
const ilExportOptions::KEY_INIT = 1 |
Definition at line 21 of file class.ilExportOptions.php.
const ilExportOptions::KEY_ITEM_MODE = 2 |
Definition at line 22 of file class.ilExportOptions.php.
Referenced by ilExportGUI\saveItemSelection(), and ilContainerXmlWriter\writeSubitems().
const ilExportOptions::KEY_ROOT = 3 |
Definition at line 23 of file class.ilExportOptions.php.
Referenced by ilObjRoleGUI\executeCommand(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), ilAccessControlExporter\getXmlRepresentation(), and ilExportGUI\saveItemSelection().