Manual:ApiMain.php/de

ApiMain ist die Haupt-API-Klasse, die sowohl für die externe als auch für die interne Verarbeitung genutzt wird. When executed, it will create the requested formatter object, instantiate and execute an object associated with the needed action, and use formatter to print results. In case of an exception, an error message will be printed using the same formatter. To call the API programmatically for testing, run it using the object, in which case any internal exceptions will not be handled but passed up to the caller. After successful execution, use  for the resulting data.

getResult
gets the ApiResult object associated with the current request.