Copied!
  • property \PHPFUI\ConstantContact\Definition\ImageDto[] $images Images to include in the post. Each image must be accessible via a public URL.
  • property string $post_content_id Identifier for this post content. Generated by the server on creation. When updating a post, existing profile posts must include their original post_content_id unchanged.
  • property \PHPFUI\ConstantContact\Definition\ProfilePostProfileDto[] $profiles The list of profiles to post to. Can be an empty list only when the post is in DRAFT status.
  • property \PHPFUI\ConstantContact\Definition\Settings $settings Network-specific post settings. If no settings are provided, this field will be omitted in the JSON response. All values are persisted as strings. Currently, only TikTok has available settings:
  • property string $text The text/caption content for the post. Whether text is required depends on the target social network. In DRAFT status, this is always optional.
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::jsonSerialize() : array
 

Impliment JsonSerializable

  • return array representation of data
public PHPFUI\ConstantContact\Definition\Base::toArray() : array
 

More descriptive alternative to getData()

  • return array representation of data
Properties
protected static array $fields = ['images' => 'array<\PHPFUI\ConstantContact\Definition\ImageDto>', 'post_content_id' => 'string', 'profiles' => 'array<\PHPFUI\ConstantContact\Definition\ProfilePostProfileDto>', 'settings' => '\PHPFUI\ConstantContact\Definition\Settings', 'text' => 'string']
protected static array PHPFUI\ConstantContact\Definition\Base::$maxLength = []
 
  • var array<string, int> maximum allowed values. Arrays are size, int and float are values, strings are length.
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 $requiredFields = ['profiles']
Properties
protected static array $fields = ['images' => 'array<\PHPFUI\ConstantContact\Definition\ImageDto>', 'post_content_id' => 'string', 'profiles' => 'array<\PHPFUI\ConstantContact\Definition\ProfilePostProfileDto>', 'settings' => '\PHPFUI\ConstantContact\Definition\Settings', 'text' => 'string']
protected static array PHPFUI\ConstantContact\Definition\Base::$maxLength = []
 
  • var array<string, int> maximum allowed values. Arrays are size, int and float are values, strings are length.
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 $requiredFields = ['profiles']
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration