/** * Gets the exceptions list for the exceptions help endpoint * * @param RestService $api The service object * @param array $args The request arguments * @return string The HTML output for this help endpoint */ public function getExceptionsHelp($api, $args) { $exceptions = $this->getExceptions(); $this->ensureClientFiles(); $jsfiles = $this->clientFiles; ob_start(); require 'include/api/help/extras/exceptionList.php'; $endpointHtml = ob_get_clean(); $api->setHeader('Content-Type', 'text/html'); return $endpointHtml; }