You are here

function Notifications_Subscription::get_name in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.subscription.inc \Notifications_Subscription::get_name()

Get subscription short name.

1 call to Notifications_Subscription::get_name()
Notifications_Subscription::build_link in includes/notifications_subscription.class.inc
Build subscribe /unsubscribe link
1 method overrides Notifications_Subscription::get_name()
Notifications_Custom_Subscription::get_name in notifications_custom/notifications_custom.class.inc
Get subscription short name.

File

includes/notifications_subscription.class.inc, line 811
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Message destination class

Code

function get_name($format = self::FORMAT_HTML) {
  if (!isset($this->name)) {

    // This subscription doesn't have a name, we'll find something
    $this->name = $this
      ->format_name($format | self::FORMAT_INLINE);
  }
  return $this->name;
}