dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbxPage_admin.class.php
Go to the documentation of this file.
1<?php
3
5
6
7 public function run() {
8 $uid =dbx()->user();
9 $mid =dbx()->get_system_var('dbx_modul_id');
10 $modul =dbx()->get_system_var('dbx_modul');
11
12 $action=dbx()->get_modul_var('dbx_run1');
13
14 switch ($action) {
15 case 'list':
16 $obj=dbx()->get_include_obj('dbxPage_list');
17 $content=$obj->run();
18 break;
19
20 case 'edit':
21 $obj=dbx()->get_include_obj('dbxPage_edit');
22 $content=$obj->run();
23 break;
24
25 default:
26 $oTPL=dbx()->get_system_obj('dbxTPL');
27 $msg['msg']="Modul=($modul) Action=($action) is undef.";
28 $content=$oTPL->get_tpl('dbx','alert-warning',$msg);
29
30 } // sqitch()
31
32 return $content;
33 }
34
35
36} // class
37
38?>
DBX schema administration.