Provide missing default attachment list for Files transactions
[phabricator.git] / src / aphront / httpparametertype / AphrontStringHTTPParameterType.php
blobebcc21cb1e6285960081f5cf7f353e0f41f77600
1 <?php
3 final class AphrontStringHTTPParameterType
4 extends AphrontHTTPParameterType {
6 protected function getParameterValue(AphrontRequest $request, $key) {
7 return $request->getStr($key);
10 protected function getParameterTypeName() {
11 return 'string';
14 protected function getParameterFormatDescriptions() {
15 return array(
16 pht('A URL-encoded string.'),
20 protected function getParameterExamples() {
21 return array(
22 'v=simple',
23 'v=properly%20escaped%20text',