Configuration API
Overview
Methods to configure loading paths for the AutoLoader API.
addDirectory($dir)
Adds a directory to the directory map for loading classes. Directories added should include a trailing "/".
SugarAutoloader::addDirectory('relative/file/path/');
addPrefixDirectory($prefix, $dir)
Adds a prefix and directory to the $prefixMap for loading classes by prefix.
SugarAutoloader::addPrefixDirectory('myPrefix', 'relative/file/path/');