function asaf_is_handled_button in Asaf (ajax submit for any form) 7
Same name and namespace in other branches
- 8 asaf.module \asaf_is_handled_button()
1 call to asaf_is_handled_button()
File
- ./
asaf.module, line 468
Code
function asaf_is_handled_button($key, $buttons) {
$handled = TRUE;
if (isset($buttons['included'])) {
$handled = isset($buttons['included'][$key]);
}
elseif (isset($buttons['excluded'])) {
$handled = !isset($buttons['excluded'][$key]);
}
return $handled;
}