Changeset 366
- Timestamp:
- Apr 15, 2010 8:49:19 PM (14 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FormValidator.inc.php
r362 r366 373 373 * pattern. 374 374 * 375 * @param string $form_name the name of the incoming form variable 376 * @param int $regex perl regex that the string must match 377 * @param bool $valid_on_match set to false to be valid if match, or true 378 * to be valid on no match 379 * @param string $msg the message to display on error 375 * @param string $form_name The name of the incoming form variable 376 * @param int $regex Perl regex that the string must match 377 * @param bool $valid_on_match Set to true to be valid if match, or false to be valid if the match fails. 378 * @param string $msg The message to display on error 380 379 * 381 380 * @return bool true if value passes regex test -
trunk/lib/Validator.inc.php
r362 r366 135 135 * @param string $val The input data to validate. 136 136 * @param int $regex PREG that the string must match 137 * @param bool $valid_on_match Set to false to be valid if match, or true 138 * to be valid on no match 137 * @param bool $valid_on_match Set to true to be valid if match, or false to be valid if the match fails. 139 138 * @return bool true if value passes regex test 140 139 */
Note: See TracChangeset
for help on using the changeset viewer.