Not used anymore, checked if we could use soap connection. As soap is no longer a reliable interface in LimeSurvey it is deprecated for now.
package | Gems |
---|---|
subpackage | Validate |
author | Michiel Rook |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
isValid(mixed $value, $context = array()
) : boolean
If $value fails validation, then this method returns false, and getMessages() will return an array of messages that explain why the validation failed.
todo | ip2long is broken on Windows, find a replacement |
---|
mixed
boolean
ERROR_INVALID_IP = 'invalidIPInRange'