Liquid::autoload PHP Метод

autoload() публичный статический Метод

This method is provided to be invoked within an __autoload() magic method.
public static autoload ( string $className ) : boolean
$className string class name
Результат boolean whether the class has been loaded successfully
    public static function autoload($className)
    {
        if (isset(self::$_coreClasses[$className])) {
            include LIQUID_PATH . self::$_coreClasses[$className];
            // use include so that the error PHP file may appear
            //include_once(LIQUID_PATH.self::$_coreClasses[$className]);
            return true;
        }
        return false;
    }