ILIAS
release_4-3 Revision
|
Export options. More...
Public Member Functions | |
getSubitemsForCreation ($a_source_id) | |
Get all subitems with mode ilExportOptions::EXPORT_BUILD | |
getSubitemsForExport () | |
Get all subitems with mode != self::EXPORT_OMIT. | |
getExportId () | |
Get export id. | |
addOption ($a_keyword, $a_ref_id, $a_obj_id, $a_value) | |
getOption ($a_keyword) | |
Get option. | |
getOptionByObjId ($a_obj_id, $a_keyword) | |
Get option by. | |
getOptionByRefId ($a_ref_id, $a_keyword) | |
Get option by. | |
delete () | |
Delete by export id. | |
read () | |
Read entries. |
Static Public Member Functions | |
static | getInstance () |
Get singelton instance. | |
static | newInstance ($a_export_id) |
Create new instance. | |
static | allocateExportId () |
Allocate a new export id. |
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. |
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 137 of file class.ilExportOptions.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and getExportId().
|
static |
Allocate a new export id.
Definition at line 66 of file class.ilExportOptions.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjRoleGUI\executeCommand(), and ilExportGUI\saveItemSelection().
ilExportOptions::delete | ( | ) |
Delete by export id.
Definition at line 199 of file class.ilExportOptions.php.
References $query, and getExportId().
ilExportOptions::getExportId | ( | ) |
Get export id.
Definition at line 132 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.
References $instance.
Referenced by ilContainerXmlWriter\__construct(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), ilCategoryExporter\getXmlExportHeadDependencies(), ilCourseExporter\getXmlExportHeadDependencies(), ilGroupExporter\getXmlExportHeadDependencies(), ilFolderExporter\getXmlExportHeadDependencies(), and ilAccessControlExporter\getXmlRepresentation().
ilExportOptions::getOption | ( | $a_keyword | ) |
Get option.
object | $a_keyword |
Definition at line 168 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 179 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 190 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 97 of file class.ilExportOptions.php.
References $ref_id.
ilExportOptions::getSubitemsForExport | ( | ) |
Get all subitems with mode != self::EXPORT_OMIT.
Definition at line 115 of file class.ilExportOptions.php.
References $ref_id.
|
static |
Create new instance.
object | $a_export_id |
Definition at line 57 of file class.ilExportOptions.php.
Referenced by ilObjRoleGUI\executeCommand(), and ilExportGUI\saveItemSelection().
ilExportOptions::read | ( | ) |
Read entries.
Definition at line 213 of file class.ilExportOptions.php.
References $query, $res, $row, DB_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.
Referenced by getInstance().
|
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(), ilCategoryExporter\getXmlExportHeadDependencies(), ilContainerReferenceExporter\getXmlExportHeadDependencies(), ilCourseExporter\getXmlExportHeadDependencies(), ilGroupExporter\getXmlExportHeadDependencies(), ilFolderExporter\getXmlExportHeadDependencies(), ilAccessControlExporter\getXmlRepresentation(), and ilExportGUI\saveItemSelection().