Viewing File: /home/ubuntu/code_review/phabricator/src/aphront/httpparametertype/AphrontPHIDHTTPParameterType.php

<?php

final class AphrontPHIDHTTPParameterType
  extends AphrontHTTPParameterType {

  protected function getParameterValue(AphrontRequest $request, $key) {
    return $request->getStr($key);
  }

  protected function getParameterTypeName() {
    return 'phid';
  }

  protected function getParameterFormatDescriptions() {
    return array(
      pht('A single object PHID.'),
    );
  }

  protected function getParameterExamples() {
    return array(
      'v=PHID-XXXX-1111',
    );
  }

}
Back to Directory File Manager