Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82855949
ConduitPHIDListParameterType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Sep 13, 20:18
Size
609 B
Mime Type
text/x-php
Expires
Sun, Sep 15, 20:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20752925
Attached To
rPH Phabricator
ConduitPHIDListParameterType.php
View Options
<?php
final
class
ConduitPHIDListParameterType
extends
ConduitListParameterType
{
protected
function
getParameterValue
(
array
$request
,
$key
,
$strict
)
{
$list
=
parent
::
getParameterValue
(
$request
,
$key
,
$strict
);
return
$this
->
parseStringList
(
$request
,
$key
,
$list
,
$strict
);
}
protected
function
getParameterTypeName
()
{
return
'list<phid>'
;
}
protected
function
getParameterFormatDescriptions
()
{
return
array
(
pht
(
'List of PHIDs.'
),
);
}
protected
function
getParameterExamples
()
{
return
array
(
'["PHID-WXYZ-1111", "PHID-WXYZ-2222"]'
,
);
}
}
Event Timeline
Log In to Comment