ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilOrgUnitExportGUI Class Reference

Class ilOrgUnitExportGUI. More...

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

Public Member Functions

 __construct (ilObjOrgUnitGUI $a_parent_gui, $a_main_obj=null)
 simpleExport ()
 simpleExportExcel ()
- Public Member Functions inherited from ilExportGUI
 __construct ($a_parent_gui, $a_main_obj=null)
 Constuctor.
 addFormat ($a_key, $a_txt="", $a_call_obj=null, $a_call_func="")
 Add formats.
 getFormats ()
 Get formats.
 addCustomColumn ($a_txt, $a_obj, $a_func)
 Add custom column.
 addCustomMultiCommand ($a_txt, $a_obj, $a_func)
 Add custom multi command.
 getCustomMultiCommands ()
 Get custom multi commands.
 getCustomColumns ()
 Get custom columns.
 executeCommand ()
 Execute command.
 listExportFiles ()
 List export files.
 createExportFile ()
 Create export file.
 confirmDeletion ()
 Confirm file deletion.
 delete ()
 Delete files.
 download ()
 Download file.
 handleCustomMultiCommand ()
 Handle custom multi command.

Protected Attributes

 $toolbar
 $lng
 $ctrl
 $ilObjOrgUnit
- Protected Attributes inherited from ilExportGUI
 $formats = array()
 $custom_columns = array()
 $custom_multi_commands = array()

Private Member Functions

 extendExportGUI ()

Additional Inherited Members

- Protected Member Functions inherited from ilExportGUI
 buildExportTableGUI ()
 getParentGUI ()
 get parent gui
 showItemSelection ()
 Show container item selection table.
 saveItemSelection ()
 Save selection of subitems.

Detailed Description

Constructor & Destructor Documentation

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

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

References $ilCtrl, $lng, extendExportGUI(), ilObject\getRefId(), and ilObjOrgUnit\getRootOrgRefId().

{
global $ilToolbar, $lng, $ilCtrl;
parent::__construct($a_parent_gui, $a_main_obj);
$this->toolbar = $ilToolbar;
$this->lng = $lng;
$this->ctrl = $ilCtrl;
$this->ilObjOrgUnit = $a_parent_gui->object;
//Simple XML and Simple XLS Export should only be available in the root orgunit folder as it always exports the whole tree
$this->extendExportGUI();
}
}

+ Here is the call graph for this function:

Member Function Documentation

ilOrgUnitExportGUI::extendExportGUI ( )
private

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

Referenced by __construct().

{
$this->toolbar->addButton($this->lng->txt("simple_xml"), $this->ctrl->getLinkTarget($this, "simpleExport"));
$this->toolbar->addButton($this->lng->txt("simple_xls"), $this->ctrl->getLinkTarget($this, "simpleExportExcel"));
}

+ Here is the caller graph for this function:

ilOrgUnitExportGUI::simpleExport ( )

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

{
$ilOrgUnitExporter = new ilOrgUnitExporter();
$ilOrgUnitExporter->sendAndCreateSimpleExportFile();
}
ilOrgUnitExportGUI::simpleExportExcel ( )

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

References ilObjOrgUnit\getRootOrgRefId().

{
$ilOrgUnitExporter = new ilOrgUnitExporter();
$ilOrgUnitExporter->simpleExportExcel(ilObjOrgUnit::getRootOrgRefId());
}

+ Here is the call graph for this function:

Field Documentation

ilOrgUnitExportGUI::$ctrl
protected

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

ilOrgUnitExportGUI::$ilObjOrgUnit
protected

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

ilOrgUnitExportGUI::$lng
protected

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

Referenced by __construct().

ilOrgUnitExportGUI::$toolbar
protected

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


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