function asaf_is_handled_button in Asaf (ajax submit for any form) 8        
                          
                  
                        Same name and namespace in other branches
- 7 asaf.module \asaf_is_handled_button()
1 call to asaf_is_handled_button()
  - asaf_mark_buttons in ./asaf.module
File
 
   - ./asaf.module, line 473
- Main module file.
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;
}