You are here

function Notifications_Subscription::get_type_fields in Notifications 6.4

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

Get fields from subscription type as normalized array of objects

5 calls to Notifications_Subscription::get_type_fields()
Notifications_Subscription::check_fields in includes/notifications_subscription.class.inc
Check all fields are there and optinally that they have a value
Notifications_Subscription::fields_subform in includes/notifications_subscription.class.inc
Produce fieldset to edit field values
Notifications_Subscription::get_editable_fields in includes/notifications_subscription.class.inc
Get editable fields. They're the ones in the subscription type that have no value
Notifications_Subscription::is_editable in includes/notifications_subscription.class.inc
Whether this subscription's fields are editable or not
Notifications_Subscription::set_fields in includes/notifications_subscription.class.inc
Set field values, all at a time

File

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

Class

Notifications_Subscription
Message destination class

Code

function get_type_fields() {
  return $this
    ->normalize_fields($this
    ->get_type('fields'));
}