function Notifications_Subscription::add_field in Notifications 6.4
Same name and namespace in other branches
- 7 notifications.subscription.inc \Notifications_Subscription::add_field()
Add a new field with name, value
2 calls to Notifications_Subscription::add_field()
- Notifications_Subscription::add_condition in includes/
notifications_subscription.class.inc - Add a new condition, update counter
- Notifications_Subscription::add_field_args in includes/
notifications_subscription.class.inc - Add field arguments from url
File
- includes/
notifications_subscription.class.inc, line 487 - Drupal Notifications Framework - Default class file
Class
- Notifications_Subscription
- Message destination class
Code
function add_field($type, $value = NULL) {
$this
->set_field($this
->build_field($type, $value));
}