function skinr_handler in Skinr 6.2
Same name and namespace in other branches
- 6 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 ./
skinr.handlers.inc - skinr_preprocess in ./
skinr.module - Implementation of hook_preprocess().
- skinr_submit_handler in ./
skinr.handlers.inc - Skinr submit handler.
File
- ./
skinr.module, line 1101
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);
}
}
}