ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 14 of file class.arStorageRecordGUI.php.

Constructor & Destructor Documentation

◆ __construct()

arStorageRecordGUI::__construct ( )

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

28 {
29 global $DIC;
30 $ilCtrl = $DIC['ilCtrl'];
31 $tpl = $DIC['tpl'];
32 $this->ctrl = $ilCtrl;
33 $this->tpl = $tpl;
34 $this->object = new arStorageRecord();
35 }
Class arTestRecord.
global $ilCtrl
Definition: ilias.php:18
global $DIC
Definition: saml.php:7

References $DIC, $ilCtrl, and $tpl.

Member Function Documentation

◆ edit()

arStorageRecordGUI::edit ( )

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

53 {
54 $editGUI = new arEditGUI(new ilPersonalDesktopGUI(), $this->object->getStorage());
55 $this->tpl->setContent($editGUI->getHTML());
56 }
GUI-Class arEditGUI.
GUI class for personal desktop.

◆ executeCommand()

arStorageRecordGUI::executeCommand ( )

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

39 {
40 $cmd = $_GET['cmd'] ? $_GET['cmd'] : 'index';
41 $this->{$cmd}();
42 }
$_GET["client_id"]

References $_GET.

◆ index()

arStorageRecordGUI::index ( )

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

46 {
48 $this->tpl->setContent($table->getHTML());
49 }
GUI-Class arIndexTableGUI.
if(empty($password)) $table
Definition: pwgen.php:24

References $table, and ActiveRecord\getCollection().

+ Here is the call graph for this function:

◆ view()

arStorageRecordGUI::view ( )

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

60 {
61 // $editGUI = new ActiveRecordViewGUI(new ilPersonalDesktopGUI(), $this->object->getStorage());
62 // $this->tpl->setContent($editGUI->getHTML());
63 }

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: