Copied!
  • var PHPFUI\ConstantContact\UUID $custom_field_id The custom_field's unique ID
  • var string $label The display name for the custom_field shown in the UI as free-form text
  • var string $name Unique name for the custom_field constructed from the label by replacing blanks with underscores.
  • var string $type Specifies the type of value the custom_field field accepts: string or date.
  • var DateTime $updated_at System generated date and time that the resource was updated, in ISO-8601 format.
  • var DateTime $created_at Date and time that the resource was created, in ISO-8601 format. System generated.
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 = [ 'custom_field_id' => '\PHPFUI\ConstantContact\UUID' , 'label' => 'string' , 'name' => 'string' , 'type' => [ 'date' , 'string' ] , 'updated_at' => 'DateTime' , 'created_at' => 'DateTime' ]
protected static array $maxLength = [ 'label' => 50 , 'name' => 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 = [ 'custom_field_id' => '\PHPFUI\ConstantContact\UUID' , 'label' => 'string' , 'name' => 'string' , 'type' => [ 'date' , 'string' ] , 'updated_at' => 'DateTime' , 'created_at' => 'DateTime' ]
protected static array $maxLength = [ 'label' => 50 , 'name' => 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