ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
arStorageRecordGUI Class Reference

Class arStorageRecordGUI. More...

+ Collaboration diagram for arStorageRecordGUI:

Public Member Functions

 __construct ()
 
 executeCommand ()
 
 index ()
 
 edit ()
 
 view ()
 

Protected Attributes

 $ctrl
 
 $tpl
 

Detailed Description

Class arStorageRecordGUI.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
2.0.7

Definition at line 15 of file class.arStorageRecordGUI.php.

Constructor & Destructor Documentation

◆ __construct()

arStorageRecordGUI::__construct ( )

Definition at line 27 of file class.arStorageRecordGUI.php.

27 {
28 global $ilCtrl, $tpl;
29 $this->ctrl = $ilCtrl;
30 $this->tpl = $tpl;
31 $this->object = new arStorageRecord();
32 }
Class arTestRecord.
global $ilCtrl
Definition: ilias.php:18

References $ilCtrl, and $tpl.

Member Function Documentation

◆ edit()

arStorageRecordGUI::edit ( )

Definition at line 47 of file class.arStorageRecordGUI.php.

47 {
48 $editGUI = new arEditGUI(new ilPersonalDesktopGUI(), $this->object->getStorage());
49 $this->tpl->setContent($editGUI->getHTML());
50 }
GUI-Class arEditGUI.
GUI class for personal desktop.

◆ executeCommand()

arStorageRecordGUI::executeCommand ( )

Definition at line 35 of file class.arStorageRecordGUI.php.

35 {
36 $cmd = $_GET['cmd'] ? $_GET['cmd'] : 'index';
37 $this->{$cmd}();
38 }
$_GET["client_id"]
$cmd
Definition: sahs_server.php:35

References $_GET, and $cmd.

◆ index()

arStorageRecordGUI::index ( )

Definition at line 41 of file class.arStorageRecordGUI.php.

41 {
43 $this->tpl->setContent($table->getHTML());
44 }
GUI-Class arIndexTableGUI.

References ActiveRecord\getCollection().

+ Here is the call graph for this function:

◆ view()

arStorageRecordGUI::view ( )

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

53 {
54 // $editGUI = new ActiveRecordViewGUI(new ilPersonalDesktopGUI(), $this->object->getStorage());
55 // $this->tpl->setContent($editGUI->getHTML());
56 }

Field Documentation

◆ $ctrl

arStorageRecordGUI::$ctrl
protected

Definition at line 20 of file class.arStorageRecordGUI.php.

◆ $tpl

arStorageRecordGUI::$tpl
protected

Definition at line 24 of file class.arStorageRecordGUI.php.

Referenced by __construct().


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