*/
public function ifUsernameExists () {
// By default the username does not exist
- $exists = FALSE;
+ $exists = false;
// Is a previous result there?
if (!$this->getResultInstance() instanceof SearchableResult) {
// Search for it
if ($this->getResultInstance()->next()) {
// Entry found
- $exists = TRUE;
+ $exists = true;
} // END - if
// Return the status
*/
public function ifEmailAddressExists () {
// By default the email does not exist
- $exists = FALSE;
+ $exists = false;
// Is a previous result there?
if (!$this->getResultInstance() instanceof SearchableResult) {
// Search for it
if ($this->getResultInstance()->next()) {
// Entry found
- $exists = TRUE;
+ $exists = true;
// Is the username set?
if ($this->getUserName() == '') {
*/
public function ifPasswordHashMatches (Requestable $requestInstance) {
// By default nothing matches... ;)
- $matches = FALSE;
+ $matches = false;
// Is a previous result there?
if ((!$this->getResultInstance() instanceof SearchableResult) || ($this->getResultInstance()->count() == 0)) {