function party_subscription_settings_load in Party 8.2
Fetch a party_subscription_settings object. Make sure that the wildcard you choose in the party_subscription_settings entity definition fits the function name here.
Parameters
$subscription_settings_id: Integer specifying the party_subscription_settings id.
$reset: A boolean indicating that the internal cache should be reset.
Return value
A fully-loaded $party_subscription_settings object or FALSE if it cannot be loaded.
See also
party_subscription_settings_load_multiple()
File
- modules/
party_simplenews/ party_subscription_settings.api.inc, line 20 - Helper functions etc for the subscription settings
Code
function party_subscription_settings_load($subscription_settings_id, $reset = FALSE) {
$party_subscription_settingss = party_subscription_settings_load_multiple(array(
$subscription_settings_id,
), array(), $reset);
return reset($party_subscription_settingss);
}