/** * get user profile info * @return array */ public function getProfile() { $us = new UserStatus($this->mUser); $json = $us->getAll(); $obj = json_decode($json); return (array) $obj; }