Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F464031
ManiphestQueryStatusesConduitAPIMethod.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ManiphestQueryStatusesConduitAPIMethod.php
View Options
<?php
final
class
ManiphestQueryStatusesConduitAPIMethod
extends
ManiphestConduitAPIMethod
{
public
function
getAPIMethodName
()
{
return
'maniphest.querystatuses'
;
}
public
function
getMethodDescription
()
{
return
pht
(
'Retrieve information about possible Maniphest task status values.'
);
}
protected
function
defineParamTypes
()
{
return
array
();
}
protected
function
defineReturnType
()
{
return
'nonempty dict<string, wild>'
;
}
protected
function
execute
(
ConduitAPIRequest
$request
)
{
$results
=
array
(
'defaultStatus'
=>
ManiphestTaskStatus
::
getDefaultStatus
(),
'defaultClosedStatus'
=>
ManiphestTaskStatus
::
getDefaultClosedStatus
(),
'duplicateStatus'
=>
ManiphestTaskStatus
::
getDuplicateStatus
(),
'openStatuses'
=>
ManiphestTaskStatus
::
getOpenStatusConstants
(),
'closedStatuses'
=>
ManiphestTaskStatus
::
getClosedStatusConstants
(),
'allStatuses'
=>
array_keys
(
ManiphestTaskStatus
::
getTaskStatusMap
()),
'statusMap'
=>
ManiphestTaskStatus
::
getTaskStatusMap
(),
);
return
$results
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:32 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
73746
Default Alt Text
ManiphestQueryStatusesConduitAPIMethod.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment