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); }
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); }