dbXapp
2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Toggle main menu visibility
Loading...
Searching...
No Matches
dbxUser.class.php
Go to the documentation of this file.
1
<?php
2
namespace
dbx\dbxUser
;
3
4
Class
dbxUser
{
5
6
Public $oTPL;
7
8
public
function
__construct
() {
9
$this->oTPL =
dbx
()->get_system_obj(
'dbxTPL'
);
10
}
11
12
public
function
run
($action=
''
) {
13
$action=
dbx
()->get_modul_var(
'dbx_run1'
);
14
$work=
dbx
()->get_modul_var(
'dbx_run2'
);
15
$content=
"dbXuser ($action) not found"
;
16
switch
($action) {
17
18
case
'user'
:
19
switch
($work) {
20
case
'edit_profil'
:
21
case
'profil'
:
22
case
''
:
23
$obj=
dbx
()->get_include_obj(
'dbxUser_profil'
);
24
$content=$obj->run();
25
break
;
26
27
case
'edit_avatar'
:
28
case
'avatar_upload'
:
29
case
'avatar'
:
30
$obj=
dbx
()->get_include_obj(
'dbxUser_avatar'
);
31
$content=$obj->run();
32
break
;
33
34
default
:
35
$content=
"dbXuser ($action/$work) not found"
;
36
}
37
break
;
38
39
40
case
'profil'
:
41
$obj=
dbx
()->get_include_obj(
'dbxUser_profil'
);
42
$content=$obj->run();
43
break
;
44
45
46
case
'avatar_upload'
;
47
//dbx()->set_modul_var($mid,'dbx_action_user','avatar_upload');
48
$obj=
dbx
()->get_include_obj(
'dbxUser_avatar'
);
49
$content=$obj->run();
50
break
;
51
52
53
case
'profil_view'
;
54
$content=$this->oTPL->get_tpl(
'dbxUser|view-profil'
);
55
break
;
56
57
58
case
'verify'
:
59
break
;
60
61
62
default
:
63
//$content.="<span class='red action_msg'>Modul $modul Action $action is undef.</span>";
64
65
}
66
return
$content;
67
}
68
}
69
70
?>
dbx\dbxUser
Definition
dbxUser.class.php:2
dbx\dbxUser\__construct
__construct()
Definition
dbxUser.class.php:8
dbx\dbxUser\run
run($action='')
Definition
dbxUser.class.php:12
dbx\dbxUser\dbxUser
Class dbxUser
Definition
dbxUser.class.php:4
dbx
DBX schema administration.
dbx
modules
dbxUser
dbxUser.class.php
Generated by
1.17.0