ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.arStorageRecordGUI.php
Go to the documentation of this file.
1
<?
php
2
require_once(
'./Services/ActiveRecord/Demo/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
//require_once('./Services/ActiveRecord/Views/View/class.ActiveRecordViewGUI.php');
7
15
class
arStorageRecordGUI
{
16
20
protected
$ctrl
;
24
protected
$tpl
;
25
26
27
public
function
__construct
() {
28
global
$ilCtrl
,
$tpl
;
29
$this->ctrl =
$ilCtrl
;
30
$this->tpl =
$tpl
;
31
$this->
object
=
new
arStorageRecord
();
32
}
33
34
35
public
function
executeCommand
() {
36
$cmd
=
$_GET
[
'cmd'
] ?
$_GET
[
'cmd'
] :
'index'
;
37
$this->{
$cmd
}();
38
}
39
40
41
public
function
index
() {
42
$table =
new
arIndexTableGUI
(
new
ilPersonalDesktopGUI
(),
'index'
,
arStorageRecordStorage::getCollection
());
43
$this->tpl->setContent($table->getHTML());
44
}
45
46
47
public
function
edit
() {
48
$editGUI =
new
arEditGUI
(
new
ilPersonalDesktopGUI
(), $this->
object
->getStorage());
49
$this->tpl->setContent($editGUI->getHTML());
50
}
51
52
53
public
function
view
() {
54
// $editGUI = new ActiveRecordViewGUI(new ilPersonalDesktopGUI(), $this->object->getStorage());
55
// $this->tpl->setContent($editGUI->getHTML());
56
}
57
}
58
59
?>
60
arIndexTableGUI
GUI-Class arIndexTableGUI.
Definition:
class.arIndexTableGUI.php:18
ActiveRecord\getCollection
static getCollection()
Definition:
class.ActiveRecord.php:789
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:41
$cmd
$cmd
Definition:
sahs_server.php:35
arStorageRecordGUI\edit
edit()
Definition:
class.arStorageRecordGUI.php:47
arStorageRecordGUI\__construct
__construct()
Definition:
class.arStorageRecordGUI.php:27
arStorageRecordGUI
Class arStorageRecordGUI.
Definition:
class.arStorageRecordGUI.php:15
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
arStorageRecordGUI\view
view()
Definition:
class.arStorageRecordGUI.php:53
arStorageRecordGUI\executeCommand
executeCommand()
Definition:
class.arStorageRecordGUI.php:35
arEditGUI
GUI-Class arEditGUI.
Definition:
class.arEditGUI.php:13
object
Create new PHPExcel object
obj_idprivate
Definition:
01pharSimple.php:37
ilPersonalDesktopGUI
GUI class for personal desktop.
Definition:
class.ilPersonalDesktopGUI.php:25
php
arStorageRecordGUI\$ctrl
$ctrl
Definition:
class.arStorageRecordGUI.php:20
arStorageRecord
Class arTestRecord.
Definition:
class.arStorageRecord.php:14
Services
ActiveRecord
_Examples
StorageRecord
class.arStorageRecordGUI.php
Generated on Fri Jan 17 2025 19:01:07 for ILIAS by
1.8.13 (using
Doxyfile
)