public static function register()
    {
        ini_set('unserialize_callback_func', 'spl_autoload_call');

        if (false === spl_autoload_register(array(self::getInstance(), 'autoload'))) {
            throw new Exception(sprintf('Unable to register %s::autoload as an autoloading method.', get_class(self::getInstance())));
        }
    }
public static function register()
    {
        ini_set('unserialize_callback_func', 'spl_autoload_call');

        if (false === spl_autoload_register(array(self::getInstance(), 'autoload'))) {
            throw new Exception(sprintf('Unable to register %s::autoload as an autoloading method.', get_class(self::getInstance())));
        }
    }
public static function register ( ) { ini_set ( 'unserialize_callback_func' , 'spl_autoload_call' ) ; if ( false === spl_autoload_register ( array ( self :: getInstance ( ) , 'autoload' ) ) ) { throw new Exception ( sprintf ( 'Unable to register %s::autoload as an autoloading method.' , get_class ( self :: getInstance ( ) ) ) ) ; } }
Register PropelAutoloader in spl autoloader.

@return void

@throws Exception
Register PropelAutoloader in spl autoloader .