You are here

function regcode_dynamic_handler_luhn_validate in Registration codes 6.2

Validate a number against the luhn algorithm

See also

http://en.wikipedia.org/wiki/Luhn_algorithm

1 string reference to 'regcode_dynamic_handler_luhn_validate'
regcode_dynamic_handlers in regcode_dynamic/regcode_dynamic.module
Grab all available dynamic code handlers

File

regcode_dynamic/regcode_dynamic.module, line 451
The dynamic code module creates codes on the fly as they are used.

Code

function regcode_dynamic_handler_luhn_validate($number) {
  return FALSE;
}