Ejemplo n.º 1
0
 public function profile()
 {
     $content = UserDataService::getUserInfo($this->getUserId());
     if (isset($content[0])) {
         $profile = $this->view->render(VIEW_DIR . "templates/Users/view-profile.html", $content[0]);
     }
     $this->setContent($profile);
 }