Page MenuHomePhorge

AphrontPHIDListHTTPParameterType.php
No OneTemporary

AphrontPHIDListHTTPParameterType.php

<?php
final class AphrontPHIDListHTTPParameterType
extends AphrontListHTTPParameterType {
protected function getParameterValue(AphrontRequest $request, $key) {
$type = new AphrontStringListHTTPParameterType();
return $this->getValueWithType($type, $request, $key);
}
protected function getParameterTypeName() {
return 'list<phid>';
}
protected function getParameterFormatDescriptions() {
return array(
pht('Comma-separated list of PHIDs.'),
pht('List of PHIDs, as array.'),
);
}
protected function getParameterExamples() {
return array(
'v=PHID-XXXX-1111',
'v=PHID-XXXX-1111,PHID-XXXX-2222',
'v[]=PHID-XXXX-1111&v[]=PHID-XXXX-2222',
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jun 9, 06:32 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1754605
Default Alt Text
AphrontPHIDListHTTPParameterType.php (722 B)

Event Timeline