You are here

function mailchimp_campaign_load_multiple in Mailchimp 7.4

Same name and namespace in other branches
  1. 8 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_load_multiple()
  2. 7.5 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_load_multiple()
  3. 7.2 modules/mailchimp_campaign/mailchimp_campaign.entity.inc \mailchimp_campaign_load_multiple()
  4. 7.3 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_load_multiple()
  5. 2.x modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_load_multiple()

Loads multiple campaigns.

2 calls to mailchimp_campaign_load_multiple()
mailchimp_campaign_load in modules/mailchimp_campaign/mailchimp_campaign.module
Load a campaign by ID.
mailchimp_campaign_overview_page in modules/mailchimp_campaign/mailchimp_campaign.module
Page callback for showing a list of Mailchimp Campaign entities.

File

modules/mailchimp_campaign/mailchimp_campaign.module, line 1029
Module file for mailchimp_campaign.

Code

function mailchimp_campaign_load_multiple($campaign_ids = array(), $conditions = array(), $reset = FALSE) {
  if (empty($campaign_ids)) {
    $campaign_ids = FALSE;
  }
  $campaigns = entity_load('mailchimp_campaign', $campaign_ids, $conditions, $reset);
  return $campaigns;
}