Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102119308
ManiphestTaskPriorityHeraldField.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
Mon, Feb 17, 07:19
Size
584 B
Mime Type
text/x-php
Expires
Wed, Feb 19, 07:19 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24285776
Attached To
rPH Phabricator
ManiphestTaskPriorityHeraldField.php
View Options
<?php
final
class
ManiphestTaskPriorityHeraldField
extends
ManiphestTaskHeraldField
{
const
FIELDCONST
=
'taskpriority'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Priority'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getPriority
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
ManiphestTaskPriorityDatasource
();
}
protected
function
getDatasourceValueMap
()
{
return
ManiphestTaskPriority
::
getTaskPriorityMap
();
}
}
Event Timeline
Log In to Comment