Copied!
  • property string $name The segment's unique descriptive name.
  • property string $segment_criteria The segment's contact selection criteria formatted as single-string escaped JSON.
  • property int $segment_id The system generated number that uniquely identifies the segment.
  • property \PHPFUI\ConstantContact\DateTime $created_at The system generated date and time (ISO-8601) that the segment was created.
  • property \PHPFUI\ConstantContact\DateTime $edited_at The system generated date and time (ISO-8601) that the segment's name or segment_criteria was last updated.
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
Properties
protected static array $fields = ['name' => 'string', 'segment_criteria' => 'string', 'segment_id' => 'int', 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'edited_at' => '\PHPFUI\ConstantContact\DateTime']
protected static array $maxLength = ['segment_criteria' => 20000]
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 = ['name' => 'string', 'segment_criteria' => 'string', 'segment_id' => 'int', 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'edited_at' => '\PHPFUI\ConstantContact\DateTime']
protected static array $maxLength = ['segment_criteria' => 20000]
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.
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration