You are here

function _editablefields_filter_field_post_values in Editable Fields 6.3

$values is the POSTed values array from the browser. With multivalued fields it will also contain the "Add more items" string which we don't need.

Parameters

$field: The CCK field array.

$values: The values POSTed from the browser.

Return value

array Return the filtered array of non-empty values.

File

plugins/responders/modal.inc, line 106
Editablefields CTools modal plugin.

Code

function _editablefields_filter_field_post_values($field, $values) {
  return array_filter((array) content_set_empty($field, $values), 'is_array');
}