public function ClassLoader::loadClass in Mobile Number 7
Loads the given class or interface.
Parameters
string $class: The name of the class.
Return value
bool|null True if loaded, null otherwise.
File
- include/
ClassLoader.php, line 337
Class
- ClassLoader
- ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
Namespace
mobile_numberCode
public function loadClass($class) {
if ($file = $this
->findFile($class)) {
include_file($file);
return TRUE;
}
}