Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getFormData()
- {
- $this->username = JRequest::getVar('username');
- $this->password = JRequest::getVar('password');
- $this->email = JRequest::getVar('email');
- $this->avatar = JRequest::getVar('avatar');
- $this->firstName = JRequest::getVar('firstname');
- $this->lastName = JRequest::getVar('lastname');
- $this->description = JRequest::getVar('description');
- $birthDay = JRequest::getVar('gg');
- $birthMonth = JRequest::getVar('mm');
- $birthYear = JRequest::getVar('yy');
- $this->birthDate = date_create($birthYear.'-'.$birthMonth.'-'.$birthDay);
- $this->city = JRequest::getVar('city');
- $rawCats = JRequest::getVar('txtCategories');
- if (isset($rawCats) && $rawCats != '')
- $this->categories = explode(';',$rawCats);
- $profilePrivacy = JRequest::getVar('privacy_profile');
- $agendaPrivacy = JRequest::getVar('privacy_events');
- $infoPrivacy = JRequest::getVar('privacy_infos');
- }
Add Comment
Please, Sign In to add comment