function checkRFID($id) { $id = trim($id); $uilf = new UserIdentificationListFactory(); $uilf->getByUserIdAndTypeIdAndValue($this->getId(), 40, $id); if ($uilf->getRecordCount() == 1) { return TRUE; } /* //Use employee ID for now. if ( $id == $this->getRFID() ) { return TRUE; } */ return FALSE; }