PHP Class MC4WP_Field_Guesser

Afficher le fichier Open project: dannyvankooten/mailchimp-for-wordpress Class Usage Examples

Protected Properties

Свойство Type Description
$fields MC4WP_Array_Bag

Méthodes publiques

Méthode Description
__construct ( array $fields )
combine ( $methods ) : array
guessed ( ) : array Guess values for the following fields - EMAIL - NAME - FNAME - LNAME
namespaced ( string $namespace = 'mc4wp-' ) : array Get all data which is namespaced with a given namespace

Private Methods

Méthode Description
string_contains ( $haystack, $needles ) : boolean

Method Details

__construct() public méthode

public __construct ( array $fields )
$fields array

combine() public méthode

public combine ( $methods ) : array
$methods
Résultat array

guessed() public méthode

Guess values for the following fields - EMAIL - NAME - FNAME - LNAME
public guessed ( ) : array
Résultat array

namespaced() public méthode

Get all data which is namespaced with a given namespace
public namespaced ( string $namespace = 'mc4wp-' ) : array
$namespace string
Résultat array

Property Details

$fields protected_oe property

protected MC4WP_Array_Bag $fields
Résultat MC4WP_Array_Bag