You are here

function Notifications_Subscription::get_field in Notifications 7

Get a field for a given position

1 call to Notifications_Subscription::get_field()
Notifications_Subscription::get_instance_fields in ./notifications.subscription.inc
Get instance fields that don't have a value set for this type

File

./notifications.subscription.inc, line 1246
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

function get_field($position) {
  $fields = $this
    ->get_fields();
  return isset($fields[$position]) ? $fields[$position] : NULL;
}