You are here

function Notifications_Subscription_Multiple::check_fields in Notifications 7

Check all fields are there and they have a value. In this case we need at least the same fields that the type fields has

File

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

Class

Notifications_Subscription_Multiple
Multiple subscription. It has an undetermined number of fields

Code

function check_fields() {
  return count($this
    ->type_fields()) <= count($this
    ->get_fields(TRUE));
}