Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104159650
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
Thu, Mar 6, 21:11
Size
584 B
Mime Type
text/x-php
Expires
Sat, Mar 8, 21:11 (2 d)
Engine
blob
Format
Raw Data
Handle
24681854
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