Ctct\Components\Activities\Activity
Represents a single Activity in Constant Contact
- Author: Constant Contact
Synopsis
class Activity
extends Component
{
- // members
- public $id;
- public $type;
- public $status;
- public $start_date;
- public $finish_date;
- public $file_name;
- public $created_date;
- public $error_count;
- public array $errors = ;
- public array $warnings = ;
- public $contact_count;
- // Inherited methods from Component
- protected static mixed getValue()
Hierarchy
Extends
Members
public
- $contact_count
- $created_date
- $error_count
- $errors
- $file_name
- $finish_date
- $id
- $start_date
- $status
- $type
- $warnings
Methods
public
- create() — Factory method to create an Activity object from an array
- toJson() — Create json used for a POST/PUT request, also handles removing attributes that will cause errors if sent
Inherited from Ctct\Components\Component
protected
- getValue() — Get the requested value from an array, or return the default