ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.arStorageRecordGUI.php
Go to the documentation of this file.
1
<?
php
2
require_once(
'./Services/ActiveRecord/_Examples/StorageRecord/class.arStorageRecord.php'
);
3
require_once(
'./Services/ActiveRecord/Views/Edit/class.arEditGUI.php'
);
4
require_once(
'./Services/PersonalDesktop/classes/class.ilPersonalDesktopGUI.php'
);
5
require_once(
'./Services/ActiveRecord/Views/Index/class.arIndexTableGUI.php'
);
6
14
class
arStorageRecordGUI
15
{
16
20
protected
$ctrl
;
24
protected
$tpl
;
25
26
27
public
function
__construct
()
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
}
36
37
38
public
function
executeCommand
()
39
{
40
$cmd =
$_GET
[
'cmd'
] ?
$_GET
[
'cmd'
] :
'index'
;
41
$this->{$cmd}();
42
}
43
44
45
public
function
index
()
46
{
47
$table
=
new
arIndexTableGUI
(
new
ilPersonalDesktopGUI
(),
'index'
,
arStorageRecordStorage::getCollection
());
48
$this->tpl->setContent(
$table
->getHTML());
49
}
50
51
52
public
function
edit
()
53
{
54
$editGUI =
new
arEditGUI
(
new
ilPersonalDesktopGUI
(), $this->object->getStorage());
55
$this->tpl->setContent($editGUI->getHTML());
56
}
57
58
59
public
function
view
()
60
{
61
// $editGUI = new ActiveRecordViewGUI(new ilPersonalDesktopGUI(), $this->object->getStorage());
62
// $this->tpl->setContent($editGUI->getHTML());
63
}
64
}
65
66
?>
67
arIndexTableGUI
GUI-Class arIndexTableGUI.
Definition:
class.arIndexTableGUI.php:16
ActiveRecord\getCollection
static getCollection()
Definition:
class.ActiveRecord.php:845
$DIC
global $DIC
Definition:
saml.php:7
arStorageRecordGUI\$tpl
$tpl
Definition:
class.arStorageRecordGUI.php:24
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
arStorageRecordGUI\index
index()
Definition:
class.arStorageRecordGUI.php:45
arStorageRecordGUI\edit
edit()
Definition:
class.arStorageRecordGUI.php:52
arStorageRecordGUI\__construct
__construct()
Definition:
class.arStorageRecordGUI.php:27
arStorageRecordGUI
Class arStorageRecordGUI.
Definition:
class.arStorageRecordGUI.php:14
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
arStorageRecordGUI\view
view()
Definition:
class.arStorageRecordGUI.php:59
arStorageRecordGUI\executeCommand
executeCommand()
Definition:
class.arStorageRecordGUI.php:38
arEditGUI
GUI-Class arEditGUI.
Definition:
class.arEditGUI.php:13
ilPersonalDesktopGUI
GUI class for personal desktop.
Definition:
class.ilPersonalDesktopGUI.php:26
php
arStorageRecordGUI\$ctrl
$ctrl
Definition:
class.arStorageRecordGUI.php:20
$table
if(empty($password)) $table
Definition:
pwgen.php:24
arStorageRecord
Class arTestRecord.
Definition:
class.arStorageRecord.php:14
Services
ActiveRecord
_Examples
StorageRecord
class.arStorageRecordGUI.php
Generated on Thu Jan 30 2025 19:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)