The ProcessWire $classLoader API variable handles autoloading of classes and modules.
This class loader is similar to a PSR-4 autoloader but with knowledge of modules.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon.
Common
Advanced
Name | Return | Summary | |
---|---|---|---|
$class $class $class | (nothing) | Add a recognized file extension for PHP files | |
$class $class $class | (nothing) | Load the file for the given class |
API reference based on ProcessWire core version 3.0.236