You are here

function _notifications_signature in Notifications 6.2

Same name and namespace in other branches
  1. 5 notifications.module \_notifications_signature()
  2. 6.4 notifications.module \_notifications_signature()
  3. 6 notifications.module \_notifications_signature()
  4. 6.3 notifications.module \_notifications_signature()

Signature for url parameters

Parameters

$params: Subscription parameters

$skip_confirm: TRUE to skip confirmation form

3 calls to _notifications_signature()
notifications_get_link in ./notifications.module
Return link array for subscriptions
notifications_page_subscribe in ./notifications.pages.inc
Menu callback add subscription
notifications_page_unsubscribe in ./notifications.pages.inc
Menu callback for unsubscribe page

File

./notifications.module, line 1493
Notifications module

Code

function _notifications_signature($params, $skip_confirm = FALSE) {
  return md5('notifications:' . drupal_get_private_key() . ':' . ($skip_confirm ? 1 : 0) . ':' . implode(':', $params));
}