dbXapp
2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Toggle main menu visibility
Loading...
Searching...
No Matches
-myLKWs.php
Go to the documentation of this file.
1
<?php
2
namespace
dbx\myLKW;
3
4
5
Class myLKWs {
6
7
8
public
function
edit_lkw() {
9
$oForm=dbx()->get_include_obj(
'form_lkw'
);
10
return
$oForm->run();
11
}
12
13
14
public
function
add_lkw() {
15
$oForm=dbx()->get_include_obj(
'form_lkw'
);
16
return
$oForm->run();
17
}
18
19
20
public
function
list_lkw() {
21
$oForm=dbx()->get_include_obj(
'form_lkw'
);
22
return
$oForm->run();
23
}
24
25
26
// =============================================
27
28
public
function
run
() {
29
$modul=dbx()->get_system_var(
'dbx_activ_modul'
);
30
$work =dbx()->get_modul_var(
'dbx_run2'
);
31
$content=
"myLKWs.class Work=($work)"
;
32
33
switch
($work) {
34
35
36
37
case
'add_lkw'
:
38
$content=$this->add_lkw();
39
break
;
40
41
case
'edit_lkw'
:
42
$content=$this->edit_lkw();
43
break
;
44
45
case
'list_lkw'
:
46
$content=$this->list_lkw();
47
break
;
48
49
50
51
default
:
52
$oTPL=dbx()->get_system_obj(
'dbxTPL'
);
53
$msg[
'msg'
]=
"Modul=($modul) Work=($work) is undef."
;
54
$content=$oTPL->get_tpl(
'dbx'
,
'alert-warning'
,$msg);
55
56
}
// switch()
57
58
59
return
$content;
60
}
// run
61
62
}
// class
63
64
dbx\dbxContent_admin\run
run($work='')
Definition
dbxContent_folder.class.php:379
dbx
modules
myLKW
include
-myLKWs.php
Generated by
1.17.0