function _call_php_func_include_files in Patterns 6.2
Same name and namespace in other branches
- 6 components/system.inc \_call_php_func_include_files()
- 7.2 patterns_components/components/system.inc \_call_php_func_include_files()
- 7 patterns_components/components/system.inc \_call_php_func_include_files()
2 calls to _call_php_func_include_files()
- call_php_func_form_submit in components/
system.inc - system_patterns in components/
system.inc
File
- components/
system.inc, line 410
Code
function _call_php_func_include_files($values) {
if ($values['type'] && $values['module']) {
module_load_include($values['type'], $values['module'], $values['name']);
}
else {
if ($values['filepath']) {
require_once $values['filepath'];
}
}
}