function Notifications_Custom_Subscription::get_fields_array in Notifications 6.4
Get fields as arrays
File
- notifications_custom/
notifications_custom.class.inc, line 47 - Drupal Notifications Framework - Default class file
Class
- Notifications_Custom_Subscription
- Message destination class
Code
function get_fields_array() {
$list = array();
foreach ($this
->get_fields() as $field) {
$list[] = array(
'type' => $field->field,
'value' => $field->value,
);
}
return $list;
}