| Versionen | |
|---|---|
| drupal7 | drupal_autoload_class($class) |
Confirm that a class is available.
This function parallels drupal_function_exists(), but is rarely called directly. Instead, it is registered as an spl_autoload() handler, and PHP calls it for us when necessary.
$class The name of the class to check or load.
TRUE if the class is currently available, FALSE otherwise.
includes/
<?php
function drupal_autoload_class($class) {
return _registry_check_code('class', $class);
}
?>
Kommentare
Kommentar hinzufügen