function Notifications_Subscription::check_fields in Notifications 7
Same name and namespace in other branches
- 6.4 includes/notifications_subscription.class.inc \Notifications_Subscription::check_fields()
Check all fields are there and they have a value
1 call to Notifications_Subscription::check_fields()
- Notifications_Subscription::check_all in ./
notifications.subscription.inc - Check all subscriptions values and set error message if any invalid one
File
- ./
notifications.subscription.inc, line 1110 - Drupal Notifications Framework - Default class file
Class
- Notifications_Subscription
- Common base for subscription type and subscription instance
Code
function check_fields() {
return count($this
->type_fields()) === count($this
->get_fields(TRUE));
}