function skinr_handler in Skinr 6
Same name and namespace in other branches
- 6.2 skinr.module \skinr_handler()
Execute a module's data handler.
9 calls to skinr_handler()
- panels_skinr_data_handler in modules/
panels.skinr.inc - Skinr data handler. This is the data that populates the skinr form.
- panels_skinr_submit_handler_settings in modules/
panels.skinr.inc - Skinr submit handler.
- skinr_data_handler in includes/
handlers.inc - skinr_form_alter in ./
skinr.module - Implementation of hook_form_alter().
- skinr_form_submit in ./
skinr.module - Submit handler.
File
- ./
skinr.module, line 714
Code
function skinr_handler($type, $op, $handler, &$a3, $a4 = NULL, $a5 = NULL, $a6 = NULL, $a7 = NULL) {
if (is_callable($handler)) {
switch ($type) {
case 'preprocess_index_handler':
return $handler($a3);
case 'preprocess_hook_callback':
return $handler($a3, $a4);
case 'data_handler':
case 'submit_handler':
return $handler($a3, $a4, $a5, $a6, $a7);
default:
return $handler($op, $a3, $a4);
}
}
}