public function renderModuleStatus(AphrontRequest $request)
 {
     $viewer = $request->getViewer();
     $types = AphrontHTTPParameterType::getAllTypes();
     $table = id(new PhabricatorHTTPParameterTypeTableView())->setHTTPParameterTypes($types);
     return id(new PHUIObjectBoxView())->setHeaderText(pht('HTTP Parameter Types'))->setTable($table);
 }
 /**
  * Call another type's value parser.
  *
  * This method allows a type to reuse the parsing behavior of a different
  * type. For example, a "list of users" type may start by running the same
  * basic parsing that a simpler "list of strings" type does.
  *
  * @param AphrontHTTPParameterType The other type.
  * @param AphrontRequest Incoming request.
  * @param string Key to examine.
  * @return wild Parsed value.
  * @task util
  */
 protected final function getValueWithType(AphrontHTTPParameterType $type, AphrontRequest $request, $key)
 {
     $type->setViewer($this->getViewer());
     return $type->getValue($request, $key);
 }
 public function renderModuleStatus(AphrontRequest $request)
 {
     $viewer = $request->getViewer();
     $types = AphrontHTTPParameterType::getAllTypes();
     return id(new PhabricatorHTTPParameterTypeTableView())->setHTTPParameterTypes($types);
 }