Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public function readFormParameters() {
  2. parent::readFormParameters();
  3.  
  4. if (isset($_POST['username'])) $this->username = StringUtil::trim($_POST['username']);
  5. if (isset($_POST['password'])) $this->password = $_POST['password'];
  6. if (isset($_POST['email'])) $this->email = StringUtil::trim($_POST['email']);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement