Hallo,
also das Problem scheint irgendwie mit den Namespaces zusammenzuhängen. Ich habe dieses Beispiel genommen, was sofort funktioniert hat.
Dann habe ich in das Beispiel einen namespace "hans" eingefügt und die autoload.php entsprechend modifiziert:
	PHP-Code:
	
namespace hans;
class AjaxRequestClass extends System 
{
  ...
} 
 autoload.php
	PHP-Code:
	
/**
 * Register the namespaces
 */
ClassLoader::addNamespaces(array
(
    'hans',
));
/**
 * Register the classes
 */
ClassLoader::addClasses(array
(
    'hans\AjaxRequestClass' => 'system/modules/ajaxrequest/AjaxRequestClass.php',
)); 
 config.php
	PHP-Code:
	
$GLOBALS['TL_HOOKS']['simpleAjax'][] = array('AjaxRequestClass', 'AjaxRequestMethod'); 
 Und mit vorhandenem Namespace funktioniert es nicht mehr. Kann das jemand bestätigen?
Oder muss meine config.php anders ausschauen?
Gruß,
Stefan