Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/18/2014 05:57:22 PM (11 years ago)
Author:
boonebgorges
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r8178 r8298  
    10021002                $message = __( 'This field type require at least one option. Please add options below.', 'buddypress' );
    10031003                return false;
    1004             } 
     1004            }
    10051005        }
    10061006
     
    25672567    /**
    25682568     * Set a regex that profile data will be asserted against.
    2569      * 
     2569     *
    25702570     * You can call this method multiple times to set multiple formats. When validation is performed,
    25712571     * it's successful as long as the new value matches any one of the registered formats.
    2572      * 
     2572     *
    25732573     * @param string $format Regex string
    25742574     * @param string $replace_format Optional; if 'replace', replaces the format instead of adding to it. Defaults to 'add'.
     
    25912591    /**
    25922592     * Add a value to this type's whitelist that that profile data will be asserted against.
    2593      * 
     2593     *
    25942594     * You can call this method multiple times to set multiple formats. When validation is performed,
    25952595     * it's successful as long as the new value matches any one of the registered formats.
    2596      * 
     2596     *
    25972597     * @param string|array $values
    25982598     * @return BP_XProfile_Field_Type
Note: See TracChangeset for help on using the changeset viewer.