dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbxUser_view.class.php
Go to the documentation of this file.
1<?php
2namespace dbx\dbxUser_admin;
3
4dbx()->use_system_class('dbxView');
5
6Class dbxUser_view extends \dbxView {
7
8 public function run() {
9 $uid=dbx()->user();
10 $work=dbx()->get_modul_var('dbx_run2');
11 $rid=($work == 'new_user') ? 0 : dbx()->get_modul_var('rid',$uid);
12 $profile=dbx()->get_include_obj('dbxUser_profil')->run('user');
13
14 $oTPL=dbx()->get_system_obj('dbxTPL');
15 $content=$oTPL->get_tpl('dbxUser_admin|view-profil', array(
16 'rid' => $rid,
17 'profile'=> $profile
18 ));
19 return $content;
20 }
21
22
23}
24
25?>