Sunnysideup\CampaignMonitor\Tasks\CampaignMonitorCreateLists
Synopsis
class CampaignMonitorCreateLists
extends BuildTask
{
- // members
- protected string $title = 'Create Campaign Monitor Sign-up Pages';
- protected string $description = 'Goes through all the Campaign Monitor lists on Campaign Monitor and adds them to Silverstripe.';
- protected boolean $enabled = true;
- protected boolean $verbose = true;
- protected static boolean $required_default_records_has_been_done = false;
- private static $class_name_for_page = CampaignMonitorSignupPage::class;
- private static array $drop_down_list_for_campaign_monitor = ;
- // methods
- public void setVerbose()
- public void run()
- protected array getCampaignMonitorLists()
- protected void getCampaignMonitorPageForListId()
- protected void getCampaignMonitorPageForListIdExists()
- protected int createCampaignMonitorPage()
- // Inherited methods from CampaignMonitorApiTrait
- public CampaignMonitorAPIConnector getCMAPI()
Hierarchy
Members
private
- $class_name_for_page
- $drop_down_list_for_campaign_monitor
protected
- $description
- $enabled
- $required_default_records_has_been_done
- $title
- $verbose
Methods
protected
- createCampaignMonitorPage() — returns ID for page.
- getCampaignMonitorLists() — returns available list for client.
- getCampaignMonitorPageForListId()
- getCampaignMonitorPageForListIdExists()