Copied!
  • property bool $accessible Whether the profile is currently accessible for posting. Publishing a post will fail if its profile is not currently accessible. Only populated when the GET request includes the query parameter include=accessible.
  • property \PHPFUI\ConstantContact\Definition\AccountInfoDto $account_info
  • property bool $connected Whether this profile is currently connected. You can only create and publish posts with connected profiles.
  • property string $handle The profile's handle on the social network (for example, an Instagram or TikTok username). May be null if the network does not expose a separate handle (for example, Facebook).
  • property string $image_url URL of the profile's image or avatar.
  • property string $name Display name of the profile.
  • property string $network The social network this profile belongs to.
  • property string $network_profile_id The social network-specific identifier for this profile.
  • property string $network_user_id The social network-specific identifier for the user who owns this profile.
  • property string $profile_id Unique identifier for this profile. Use this value in the profile_id field of a ProfilePost when creating a post.
  • property \PHPFUI\ConstantContact\Definition\Settings $settings Network-specific settings for the profile. Only populated when the request includes include=accessible and settings are available for the network. Currently, only TikTok provides settings: "content": { "comment_disabled": Boolean, "duet_disabled": Boolean, "stitch_disabled": Boolean, "max_video_post_duration_sec": Integer }
  • property string $url URL to the profile on the social network.
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 = ['accessible' => 'bool', 'account_info' => '\PHPFUI\ConstantContact\Definition\AccountInfoDto', 'connected' => 'bool', 'handle' => 'string', 'image_url' => 'string', 'name' => 'string', 'network' => 'string', 'network_profile_id' => 'string', 'network_user_id' => 'string', 'profile_id' => 'string', 'settings' => '\PHPFUI\ConstantContact\Definition\Settings', 'url' => '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 = ['connected', 'network', 'profile_id']
Properties
protected static array $fields = ['accessible' => 'bool', 'account_info' => '\PHPFUI\ConstantContact\Definition\AccountInfoDto', 'connected' => 'bool', 'handle' => 'string', 'image_url' => 'string', 'name' => 'string', 'network' => 'string', 'network_profile_id' => 'string', 'network_user_id' => 'string', 'profile_id' => 'string', 'settings' => '\PHPFUI\ConstantContact\Definition\Settings', 'url' => '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 = ['connected', 'network', 'profile_id']
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration