You are here

public static function Github_Autoloader::register in Bibliography Module 7.2

Registers Github_Autoloader as an SPL autoloader.

2 calls to Github_Autoloader::register()
biblio_citeproc_style_manager_form in modules/CiteProc/biblio_citeproc.admin.inc
biblio_citeproc_style_manager_form_submit in modules/CiteProc/biblio_citeproc.admin.inc

File

modules/CiteProc/Github/Autoloader.php, line 11

Class

Github_Autoloader
Autoloads Github classes

Code

public static function register() {
  ini_set('unserialize_callback_func', 'spl_autoload_call');
  spl_autoload_register(array(
    new self(),
    'autoload',
  ));
}