You are here

function Notifications_Subscription::get_fields in Notifications 6.4

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

Get fields as array of field objects

7 calls to Notifications_Subscription::get_fields()
Notifications_Custom_Subscription::get_fields_array in notifications_custom/notifications_custom.class.inc
Get fields as arrays
Notifications_Subscription::check_fields in includes/notifications_subscription.class.inc
Check all fields are there and optinally that they have a value
Notifications_Subscription::format_fields in includes/notifications_subscription.class.inc
Format all fields
Notifications_Subscription::form_info in includes/notifications_subscription.class.inc
Subscription information field for several forms
Notifications_Subscription::get_conditions in includes/notifications_subscription.class.inc
Get fields as array of field => value pairs

... See full list

File

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

Class

Notifications_Subscription
Message destination class

Code

function get_fields() {
  if (!isset($this->fields)) {
    if ($this
      ->is_instance()) {
      $this
        ->load_fields();
    }
    else {
      $this
        ->set_fields();
    }
  }
  return $this->fields;
}