Copied!
Cloneable Instantiable
Methods
public __construct ( PHPFUI\ConstantContact\Client $client )
public delete ( string $custom_field_id ) : bool
 

DELETE a custom_field

This DELETE request deletes a custom_field from the user's account

  • param string $custom_field_id Unique ID of the custom_field on which to operate.
public get ( string $custom_field_id ) : array
 

GET a custom_field

This GET call retrieves a custom_field resource, specified by custom_field_id.

  • param string $custom_field_id Unique ID of the custom_field on which to operate.
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 put ( string $custom_field_id , PHPFUI\ConstantContact\Definition\CustomFieldInput $body ) : array
 

PUT (update) a custom_field

This PUT request updates an existing custom_field object.

  • param string $custom_field_id Unique ID of the custom_field on which to operate.
  • param PHPFUI\ConstantContact\Definition\CustomFieldInput $body The JSON payload used to update an existing custom field. Any properties omitted in the PUT request are overwritten with a null value.
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 ) : bool
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
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration