You are here

function _call_php_func_include_files in Patterns 6

Same name and namespace in other branches
  1. 6.2 components/system.inc \_call_php_func_include_files()
  2. 7.2 patterns_components/components/system.inc \_call_php_func_include_files()
  3. 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 408

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'];
    }
  }
}