Copied!
CloneableInstantiable
Methods
public __construct(PHPFUI\ConstantContact\Client $client)
public delete(string $custom_field_id) : ?array
 

DELETE a custom_field

Delete a custom field from the user's account.

  • param string $custom_field_id The ID that uniquely identifies the custom field to delete.
public get(string $custom_field_id) : ?array
 

GET a custom_field

Get details for a specified custom field.

  • param string $custom_field_id The ID that uniquely identifies the custom field.
public PHPFUI\ConstantContact\Base::getLastError() : string
public PHPFUI\ConstantContact\Base::getResponseText() : string
public PHPFUI\ConstantContact\Base::getStatusCode() : int
public getTyped(string $custom_field_id) : ?PHPFUI\ConstantContact\Definition\CustomField
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\CustomFieldPutRequest $body) : ?array
 

Update a custom field.

Update an existing custom field.

  • param string $custom_field_id The ID that uniquely identifies the custom field to update.
  • param \PHPFUI\ConstantContact\Definition\CustomFieldPutRequest $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 putTyped(string $custom_field_id, PHPFUI\ConstantContact\Definition\CustomFieldPutRequest $body) : ?PHPFUI\ConstantContact\Definition\CustomField
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
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration