Path: blob/master/src/applications/config/module/PhabricatorConfigRequestExceptionHandlerModule.php
12256 views
<?php12final class PhabricatorConfigRequestExceptionHandlerModule3extends PhabricatorConfigModule {45public function getModuleKey() {6return 'exception-handler';7}89public function getModuleName() {10return pht('Exception Handlers');11}1213public function renderModuleStatus(AphrontRequest $request) {14$viewer = $request->getViewer();1516$handlers = AphrontRequestExceptionHandler::getAllHandlers();1718$rows = array();19foreach ($handlers as $key => $handler) {20$rows[] = array(21$handler->getRequestExceptionHandlerPriority(),22$key,23$handler->getRequestExceptionHandlerDescription(),24);25}2627return id(new AphrontTableView($rows))28->setHeaders(29array(30pht('Priority'),31pht('Class'),32pht('Description'),33))34->setColumnClasses(35array(36null,37'pri',38'wide',39));40}4142}434445