public function checkUsernameExists() { if ($this->_glbUser === false) { $this->_glbUser = GlbUser::findByUsername($this->username); } if ($this->_glbUser !== null) { return $this->_glbUser; } return $this->_glbUser; }
public function getUserByID($id) { return GlbUser::findOne($id); }