You are here

function Notifications_Subscription::field_values in Notifications 7

Get field values for this subscription type. The order is important as it will determine the field index

For empty values, well fill with NULL until the number of fields

1 call to Notifications_Subscription::field_values()
Notifications_Subscription::type_fields in ./notifications.subscription.inc
Get subscription type fields as array of field objects

File

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

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

function field_values() {
  $values = isset($this->field_values) ? $this->field_values : $this
    ->get_info('field_values', array());
  $values = array_pad($values, count($this
    ->field_types()), NULL);
  return $values;
}