Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Mustache_Autoloader Class Reference

Public Member Functions

 __construct ($baseDir=null)
 Autoloader constructor.
 
 autoload ($class)
 Autoload Mustache classes.
 

Static Public Member Functions

static register ($baseDir=null)
 Register a new instance as an SPL autoloader.
 

Constructor & Destructor Documentation

◆ __construct()

Mustache_Autoloader::__construct ( $baseDir = null)

Autoloader constructor.

Parameters
string$baseDirMustache library base directory (default: dirname(FILE).'/..')

Member Function Documentation

◆ autoload()

Mustache_Autoloader::autoload ( $class)

Autoload Mustache classes.

Parameters
string$class

◆ register()

static Mustache_Autoloader::register ( $baseDir = null)
static

Register a new instance as an SPL autoloader.

Parameters
string$baseDirMustache library base directory (default: dirname(FILE).'/..')
Return values
Mustache_AutoloaderRegistered Autoloader instance

The documentation for this class was generated from the following file: