Function tf_autoload
Autoload core Tuskfish classes. spl_autoload_register() avoids namespace clashes.
Note that you must check if the file exists before attempting to include it; otherwise calls to additional autoloaders down the chain (eg. module-specific autoloaders) will fail.
Package: core
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Located at trust_path/configuration/config.php
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Located at trust_path/configuration/config.php
Parameters summary
string |
$classname |
Name of class to autoload. |