Page Menu
Home
WMGMC Issues
搜索
Configure Global Search
登录
Files
F16100
ConduitProjectListParameterType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
订阅
标记用于日后
授予令牌
Size
875 B
Referenced Files
None
订阅者
None
ConduitProjectListParameterType.php
View Options
<?php
final
class
ConduitProjectListParameterType
extends
ConduitListParameterType
{
protected
function
getParameterValue
(
array
$request
,
$key
,
$strict
)
{
$list
=
parent
::
getParameterValue
(
$request
,
$key
,
$strict
);
$list
=
$this
->
parseStringList
(
$request
,
$key
,
$list
,
$strict
);
return
id
(
new
PhabricatorProjectPHIDResolver
())
->
setViewer
(
$this
->
getViewer
())
->
resolvePHIDs
(
$list
);
}
protected
function
getParameterTypeName
()
{
return
'list<project>'
;
}
protected
function
getParameterFormatDescriptions
()
{
return
array
(
pht
(
'List of project PHIDs.'
),
pht
(
'List of project tags.'
),
pht
(
'List with a mixture of PHIDs and tags.'
),
);
}
protected
function
getParameterExamples
()
{
return
array
(
'["PHID-PROJ-1111"]'
,
'["backend"]'
,
'["PHID-PROJ-2222", "frontend"]'
,
);
}
}
File Metadata
详情
附加的
Mime Type
text/x-php
Expires
9月 11 Thu, 1:45 PM (22 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5571
默认替代文本
ConduitProjectListParameterType.php (875 B)
Attached To
Mode
rP phorge
附加的
Detach File
Event Timeline
Log In to Comment