private function getFriendshipStatus() { if ($this->user['page'] === false) { $this->view->isFriend = application_frontend_friend_model::checkFriendship($this->user['myuid'], $this->user['uid']); $this->view->requestSend = application_frontend_friend_model::checkRequestSend($this->user['myuid'], $this->user['uid']); } }