示例#1
0
 /**
  * Method to setup the autoloaders for the Joomla Platform.
  *
  * @param   int     $changePrivate  Flag for change values and functions to protected instead private in extends files
  * @param   string  $prefix         Prefix for extend files
  * @param   string  $suffix         Suffix for extend files
  *
  * @return  void
  */
 public static function setupOverrideLoader($changePrivate = 0, $prefix = '', $suffix = 'Default')
 {
     self::$changePrivate = $changePrivate;
     self::$prefix = $prefix;
     self::$suffix = $suffix;
     // Register the prefix autoloader.
     spl_autoload_register(array('MVCLoader', 'registerOverrideAutoLoader'), false, true);
 }