Changeset 366


Ignore:
Timestamp:
Apr 15, 2010 8:49:19 PM (14 years ago)
Author:
quinn
Message:

Documentation fix.

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FormValidator.inc.php

    r362 r366  
    373373     * pattern.
    374374     *
    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
    380379     *
    381380     * @return bool   true if value passes regex test
  • trunk/lib/Validator.inc.php

    r362 r366  
    135135     * @param  string $val The input data to validate.
    136136     * @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.
    139138     * @return bool   true if value passes regex test
    140139     */
Note: See TracChangeset for help on using the changeset viewer.