ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilOrgUnitExportGUI Class Reference

Class ilOrgUnitExportGUI. More...

+ Inheritance diagram for ilOrgUnitExportGUI:
+ Collaboration diagram for ilOrgUnitExportGUI:

Public Member Functions

 __construct (ilObjOrgUnitGUI $a_parent_gui, ?ilObject $a_main_obj=null)
 
 executeCommand ()
 
 listExportFiles ()
 
 simpleExport ()
 
 simpleExportExcel ()
 
- Public Member Functions inherited from ilExportGUI
 __construct (object $a_parent_gui, ?ilObject $a_main_obj=null, bool $public_access_enabled=true, bool $default_export_option_enabled=true)
 
 isPublicAccessEnabled ()
 
 executeCommand ()
 
 addFormat ()
 @depricated More...
 
 listExportFiles ()
 
 getFormats ()
 @depricated More...
 

Protected Attributes

ilToolbarGUI $toolbar
 
ilLanguage $lng
 
ilCtrlInterface $ctrl
 
ilObject $ilObjOrgUnit
 
ILIAS UI Factory $ui_factory
 
- Protected Attributes inherited from ilExportGUI
const CMD_SAVE_ITEM_SELECTION = "saveItemSelection"
 
const CMD_EXPORT_OPTION_PREFIX = "exportOption"
 
ilExportHandlerConsumerExportOptionCollectionInterface $export_options
 
ilUIServices $ui_services
 
ilHTTPServices $http
 
ilRefineryFactory $refinery
 
ilObjUser $il_user
 
ilLanguage $lng
 
ilObject $obj
 
ilGlobalTemplateInterface $tpl
 
ilCtrlInterface $ctrl
 
ilAccessHandler $access
 
ilErrorHandling $error
 
ilToolbarGUI $toolbar
 
ilObjectDefinition $obj_definition
 
ilTree $tree
 
ilExportHandler $export_handler
 
ilExportHandlerConsumerContextInterface $context
 
ilDataFactory $data_factory
 
object $parent_gui
 
bool $public_access_enabled
 

Additional Inherited Members

- Data Fields inherited from ilExportGUI
const CMD_LIST_EXPORT_FILES = "listExportFiles"
 
const CMD_EXPORT_XML = "createXmlExportFile"
 
- Protected Member Functions inherited from ilExportGUI
 initExportOptionsFromPost ()
 
 builtExportOptionCommand (ilExportHandlerConsumerExportOptionInterface $export_option)
 
 enableStandardXMLExport ()
 
 initExportOptions ()
 
 displayExportFiles ()
 
 createXMLExportFile ()
 
 showItemSelection ()
 Show container item selection table. More...
 
 saveItemSelection ()
 
 createXMLExport (ExportConfigCollectionInterface $export_configs)
 
 createXMLContainerExport ()
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilOrgUnitExportGUI::__construct ( ilObjOrgUnitGUI  $a_parent_gui,
?ilObject  $a_main_obj = null 
)

Definition at line 34 of file class.ilOrgUnitExportGUI.php.

35 {
36 parent::__construct($a_parent_gui, $a_main_obj, false, false);
37
38 global $DIC;
39 $ilToolbar = $DIC->toolbar();
40 $lng = $DIC->language();
41 $ilCtrl = $DIC->ctrl();
42
43 $this->toolbar = $DIC->toolbar();
44 $this->lng = $DIC->language();
45 $this->ctrl = $DIC->ctrl();
46 $this->ui_factory = $DIC['ui.factory'];
47
48 $this->ilObjOrgUnit = $a_parent_gui->getObject();
49 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References $DIC, $lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilOrgUnitExportGUI::executeCommand ( )

Reimplemented from ilExportGUI.

Definition at line 51 of file class.ilOrgUnitExportGUI.php.

51 : void
52 {
53 $cmd = $this->ctrl->getCmd();
54 if (
55 $cmd === "simpleExport" ||
56 $cmd === "simpleExportExcel"
57 ) {
58 $this->$cmd();
59 return;
60 }
61 parent::executeCommand();
62 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ listExportFiles()

ilOrgUnitExportGUI::listExportFiles ( )

Reimplemented from ilExportGUI.

Definition at line 64 of file class.ilOrgUnitExportGUI.php.

64 : void
65 {
67 parent::listExportFiles();
68 }
69 }
static getRootOrgRefId()

References ilObject\getRefId(), and ilObjOrgUnit\getRootOrgRefId().

+ Here is the call graph for this function:

◆ simpleExport()

ilOrgUnitExportGUI::simpleExport ( )

Definition at line 71 of file class.ilOrgUnitExportGUI.php.

71 : void
72 {
73 $ilOrgUnitExporter = new ilOrgUnitExporter();
74 $ilOrgUnitExporter->sendAndCreateSimpleExportFile();
75 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ simpleExportExcel()

ilOrgUnitExportGUI::simpleExportExcel ( )

Definition at line 77 of file class.ilOrgUnitExportGUI.php.

77 : void
78 {
79 $ilOrgUnitExporter = new ilOrgUnitExporter();
80 $ilOrgUnitExporter->simpleExportExcel(ilObjOrgUnit::getRootOrgRefId());
81 }

References ilObjOrgUnit\getRootOrgRefId().

+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilCtrlInterface ilOrgUnitExportGUI::$ctrl
protected

Definition at line 30 of file class.ilOrgUnitExportGUI.php.

◆ $ilObjOrgUnit

ilObject ilOrgUnitExportGUI::$ilObjOrgUnit
protected

Definition at line 31 of file class.ilOrgUnitExportGUI.php.

◆ $lng

ilLanguage ilOrgUnitExportGUI::$lng
protected

Definition at line 29 of file class.ilOrgUnitExportGUI.php.

Referenced by __construct().

◆ $toolbar

ilToolbarGUI ilOrgUnitExportGUI::$toolbar
protected

Definition at line 28 of file class.ilOrgUnitExportGUI.php.

◆ $ui_factory

ILIAS UI Factory ilOrgUnitExportGUI::$ui_factory
protected

Definition at line 32 of file class.ilOrgUnitExportGUI.php.


The documentation for this class was generated from the following file: