Changeset 8298 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 04/18/2014 05:57:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r8178 r8298 1002 1002 $message = __( 'This field type require at least one option. Please add options below.', 'buddypress' ); 1003 1003 return false; 1004 } 1004 } 1005 1005 } 1006 1006 … … 2567 2567 /** 2568 2568 * Set a regex that profile data will be asserted against. 2569 * 2569 * 2570 2570 * You can call this method multiple times to set multiple formats. When validation is performed, 2571 2571 * it's successful as long as the new value matches any one of the registered formats. 2572 * 2572 * 2573 2573 * @param string $format Regex string 2574 2574 * @param string $replace_format Optional; if 'replace', replaces the format instead of adding to it. Defaults to 'add'. … … 2591 2591 /** 2592 2592 * Add a value to this type's whitelist that that profile data will be asserted against. 2593 * 2593 * 2594 2594 * You can call this method multiple times to set multiple formats. When validation is performed, 2595 2595 * it's successful as long as the new value matches any one of the registered formats. 2596 * 2596 * 2597 2597 * @param string|array $values 2598 2598 * @return BP_XProfile_Field_Type
Note: See TracChangeset
for help on using the changeset viewer.