'lib/pdflib.php', ]; /** * Entry point to the autoload * * @param string $class the name of the class to be autoloaded */ public static function autoload($class) { switch ($class) { default: if (array_key_exists($class, static::$mapInternalClassesNotInComposer)) { self::loadInternalClassesNotInComposer($class); } break; } } /** * Static loader for classes in Tiki not loaded automatically by composer (not PSR-0, PSR-4) * * Note: this should move in the future to use static mapping in composer (after removing duplicated class names) * * @param $class */ protected static function loadInternalClassesNotInComposer($class) { global $tikipath; include_once $tikipath . DIRECTORY_SEPARATOR . static::$mapInternalClassesNotInComposer[$class]; } }