dbxapp
4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
dbxapp.de
Portal
Start
Anwender
Entwickler
KI-Bereiche
Loading...
Searching...
No Matches
mySummary.class.php
Go to the documentation of this file.
1
<?php
2
namespace
dbx\myLKW;
3
4
5
Class mySummary {
6
7
public
function
summary_lkw() {
8
$data[
'count_all'
]=180;
9
$oTPL=
dbx
()->get_system_obj(
'dbxTPL'
);
10
$content
=$oTPL->get_tpl(
'modul'
,
'summary_lkw'
,$data);
11
return
$content
;
12
13
14
}
15
16
17
public
function
summary_order() {
18
$data[
'count_all'
]=170;
19
$oTPL=
dbx
()->get_system_obj(
'dbxTPL'
);
20
$content
=$oTPL->get_tpl(
'modul'
,
'summary_order'
,$data);
21
return
$content
;
22
23
24
}
25
26
27
public
function
lkw() {
28
$oTPL=
dbx
()->get_system_obj(
'dbxTPL'
);
29
$msg[
'msg'
]=
"<h4>LKW-Summery</h4>"
.$this->summary_lkw();
30
$content
=$oTPL->get_tpl(
'dbx'
,
'alert-info'
,$msg);
31
return
$content
;
32
33
34
}
35
36
37
public
function
order() {
38
$oTPL=
dbx
()->get_system_obj(
'dbxTPL'
);
39
$msg[
'msg'
]=
"<h4>Order-Summery</h4>"
.$this->summary_order();
40
$content
=$oTPL->get_tpl(
'dbx'
,
'alert-info'
,$msg);
41
return
$content
;
42
}
43
44
45
// =============================================
46
47
public
function
run
() {
48
$modul=
dbx
()->get_system_var(
'dbx_activ_modul'
);
49
$work
=
dbx
()->get_modul_var(
'dbx_run2'
);
50
$content
=
""
;
51
52
switch
(
$work
) {
53
54
55
case
'lkw'
:
56
$content
=$this->lkw();
57
break
;
58
59
case
'order'
:
60
$content
=$this->order();
61
break
;
62
63
64
default
:
65
$oTPL=
dbx
()->get_system_obj(
'dbxTPL'
);
66
$msg[
'msg'
]=
"Modul=($modul) Work=($work) is undef."
;
67
$content
=$oTPL->get_tpl(
'dbx'
,
'alert-warning'
,$msg);
68
69
}
// switch()
70
71
72
return
$content
;
73
}
// run
74
75
}
// class
76
77
dbx
dbx()
Liefert die zentrale dbXapp-API als Singleton.
Definition
dbxApi.php:2805
$content
$content
Definition
dbxForm_try_count_test.php:72
$work
$work
Definition
dbxUpdateService_test.php:152
dbx\dbxAdmin\run
run()
Definition
dbxModules.class.php:806
dbx
modules
myLKW
include
mySummary.class.php
Generated by
1.17.0