Copied!
  • property string $phone_number The contact's phone number, 1 of 2 allowed per contact, no more than 25 characters
  • property string $kind Describes the type of phone number; valid values are home, work, mobile, or other.
CloneableInstantiable
Methods
public PHPFUI\ConstantContact\Definition\Base::__construct(array $initialValues = [])
public PHPFUI\ConstantContact\Definition\Base::__get(string $field) : ?mixed
 

Unset fields will return null

public PHPFUI\ConstantContact\Definition\Base::__set(string $field, $value)
 
  • return mixed value being set to allow for assignment chaining
public PHPFUI\ConstantContact\Definition\Base::getData() : array
 
  • return array representation of data
public PHPFUI\ConstantContact\Definition\Base::getfields() : array
 
  • return array all the valid fields for the object. Index is field name and value is the type.
public PHPFUI\ConstantContact\Definition\Base::getJSON() : string
 
  • return string pretty print JSON
Properties
protected static array $fields = ['phone_number' => 'string', 'kind' => ['home', 'work', 'mobile', 'other']]
protected static array $maxLength = ['phone_number' => 25]
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields
 
  • var string[] required fields.
Properties
protected static array $fields = ['phone_number' => 'string', 'kind' => ['home', 'work', 'mobile', 'other']]
protected static array $maxLength = ['phone_number' => 25]
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields
 
  • var string[] required fields.
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration