You are here

function notifications_send_methods in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.module \notifications_send_methods()

Get list of send methods for user or anonymous account

6 calls to notifications_send_methods()
notifications_content_test_template_form in notifications_content/notifications_content.pages.inc
Template testing form
notifications_destination_address_subform in includes/destination.inc
Displays a destination field for each method
notifications_destination_method_subform in includes/destination.inc
Subform with method and address
notifications_destination_validate in includes/destination.inc
Validate destination for method
notifications_subscription_base_form in ./notifications.pages.inc
Base subscription form. Present the main fields and check all values

... See full list

1 string reference to 'notifications_send_methods'
_notifications_send_methods in ./notifications.module
List of send methods

File

./notifications.module, line 1851
Notifications module

Code

function notifications_send_methods($account) {

  // We restrict send methods for anonymous accounts when edited by regular users
  if (empty($account->uid) && function_exists('notifications_anonymous_send_methods')) {
    return notifications_anonymous_send_methods();
  }
  else {
    return _notifications_send_methods($account);
  }
}