Copied!
  • property \PHPFUI\ConstantContact\UUID $custom_field_id The system generated ID that uniquely identifies a custom_field.
  • property string $label The custom field name to display in the UI (free-form text).
  • property string $name The unique custom field name constructed from the label by replacing blanks with underscores.
  • property string $type The data value type the custom field accepts.
  • property \PHPFUI\ConstantContact\Definition\CustomFieldMetadata $metadata
  • property int $version For datetime data types, this is the version number associated with the custom field.
  • property \PHPFUI\ConstantContact\Definition\CustomFieldChoice[] $choices Choices available for single_select and multi_select type custom fields. The maximum number of elements for radio or checkbox display types is 20. Maximum number of elements for a dropdown is 100.
  • property \PHPFUI\ConstantContact\DateTime $updated_at System generated date and time that the resource was updated, in ISO-8601 format.
  • property \PHPFUI\ConstantContact\DateTime $created_at Date and time that the resource was created, in ISO-8601 format. System generated.
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, ?mixed $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
public PHPFUI\ConstantContact\Definition\Base::toArray() : array
 

More descriptive alternative to getData()

  • return array representation of data
Properties
protected static array $fields = ['custom_field_id' => '\PHPFUI\ConstantContact\UUID', 'label' => 'string', 'name' => 'string', 'type' => 'string', 'metadata' => '\PHPFUI\ConstantContact\Definition\CustomFieldMetadata', 'version' => 'int', 'choices' => 'array<\PHPFUI\ConstantContact\Definition\CustomFieldChoice>', 'updated_at' => '\PHPFUI\ConstantContact\DateTime', 'created_at' => '\PHPFUI\ConstantContact\DateTime']
protected static array $maxLength = ['label' => 50, 'name' => 50, 'type' => 20, 'choices' => 100]
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 = ['custom_field_id' => '\PHPFUI\ConstantContact\UUID', 'label' => 'string', 'name' => 'string', 'type' => 'string', 'metadata' => '\PHPFUI\ConstantContact\Definition\CustomFieldMetadata', 'version' => 'int', 'choices' => 'array<\PHPFUI\ConstantContact\Definition\CustomFieldChoice>', 'updated_at' => '\PHPFUI\ConstantContact\DateTime', 'created_at' => '\PHPFUI\ConstantContact\DateTime']
protected static array $maxLength = ['label' => 50, 'name' => 50, 'type' => 20, 'choices' => 100]
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.
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration