Cloneable Instantiable
Methods
public __construct ( PHPFUI\ConstantContact\Client $client )
public get ( string $campaign_activity_id ) : array
 

GET the HTML Preview of an Email Campaign Activity

Use this method to get the HTML preview of an email campaign activity.
The HTML preview allows you to verify how the email campaign activity
will look before you send it to contacts.

Custom code emails (format_type 5) use the Constant Contact account
owner's contact information to process contact, custom field, and account
variables in the preview.

This method returns the HTML preview encoded as a JSON string. You will
need to decode the string before you can use it as valid HTML.

  • param string $campaign_activity_id The unique ID for an email campaign activity.
public PHPFUI\ConstantContact\Base :: getLastError () : string
public PHPFUI\ConstantContact\Base :: getResponseText () : string
public PHPFUI\ConstantContact\Base :: getStatusCode () : int
public PHPFUI\ConstantContact\Base :: next () : array
 

If the endpoint is paginated, you can call next() to retrieve the next set of data. If no next is provided, an empty array is returned.

  • return array filled with next part of the response from the endpoint, or empty if no next.
public PHPFUI\ConstantContact\Base :: success () : bool
Properties
protected PHPFUI\ConstantContact\Client PHPFUI\ConstantContact\Base :: $client
protected string PHPFUI\ConstantContact\Base :: $urlPath
Methods
protected PHPFUI\ConstantContact\Base :: doDelete ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doGet ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPatch ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPost ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPut ( array $parameters ) : array
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration