You are here

function simplenews_newsletter_load_multiple in Simplenews 7.2

Same name and namespace in other branches
  1. 8 simplenews.module \simplenews_newsletter_load_multiple()
  2. 7 simplenews.module \simplenews_newsletter_load_multiple()

Load one or many newsletter entites from database.

Parameters

array $ids List of ids to be loaded or empty array for all.:

array $conditions:

boolean $reset:

Return value

type

Related topics

7 calls to simplenews_newsletter_load_multiple()
SimplenewsNewsletterController::delete in includes/simplenews.controller.inc
Overrides EntityAPIController::delete().
SimplenewsTestCase::setUp in tests/simplenews.test
Sets up a Drupal site for running functional and integration tests.
simplenews_newsletter_get_all in ./simplenews.module
Loads all visible newsletters.
simplenews_newsletter_get_visible in ./simplenews.module
Loads all visible newsletters.
simplenews_newsletter_load in ./simplenews.module
Get a simplenews newsletter entity object.

... See full list

2 string references to 'simplenews_newsletter_load_multiple'
SimpleNewsAdministrationTestCase::testNewsletterSettings in tests/simplenews.test
Test various combinations of newsletter settings.
SimpleNewsAdministrationTestCase::testSubscriptionManagement in tests/simplenews.test
Test newsletter subscription management.

File

./simplenews.module, line 2080
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_newsletter_load_multiple($ids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('simplenews_newsletter', $ids, $conditions, $reset);
}