Copied!
  • property string $kind Describes the type of address; valid values are home, work, or other.
  • property string $street Number and street of the address.
  • property string $city The name of the city where the contact lives.
  • property string $state The name of the state or province where the contact lives.
  • property string $postal_code The zip or postal code of the contact.
  • property string $country The name of the country where the contact lives.
Cloneable Instantiable
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 = [ 'kind' => [ 'home' , 'work' , 'other' ] , 'street' => 'string' , 'city' => 'string' , 'state' => 'string' , 'postal_code' => 'string' , 'country' => 'string' ]
protected static array $maxLength = [ 'street' => 255 , 'city' => 50 , 'state' => 50 , 'postal_code' => 50 , 'country' => 50 ]
protected static array PHPFUI\ConstantContact\Definition\Base :: $minLength
 
  • var array of minimum allowed values. Arrays are size, int and float are values, strings are length.
Properties
protected static array $fields = [ 'kind' => [ 'home' , 'work' , 'other' ] , 'street' => 'string' , 'city' => 'string' , 'state' => 'string' , 'postal_code' => 'string' , 'country' => 'string' ]
protected static array $maxLength = [ 'street' => 255 , 'city' => 50 , 'state' => 50 , 'postal_code' => 50 , 'country' => 50 ]
protected static array PHPFUI\ConstantContact\Definition\Base :: $minLength
 
  • var array of minimum allowed values. Arrays are size, int and float are values, strings are length.
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration