function autoload_class in Autoload 6.2
Same name and namespace in other branches
- 6 autoload.module \autoload_class()
Confirm that a class is available.
This function is rarely called directly. Instead, it is registered as an spl_autoload() handler, and PHP calls it for us when necessary.
Parameters
$class: The name of the class to check or load.
Return value
TRUE if the class is currently available, FALSE otherwise.
Related topics
2 string references to 'autoload_class'
- autoload_boot in ./
autoload.module - Implements hook_boot().
- autoload_enable in ./
autoload.install - Implements hook_enable().
File
- ./
autoload.module, line 129
Code
function autoload_class($class) {
return _autoload_registry_check_code('class', $class);
}