Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92776016
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
Sat, Nov 23, 15:21
Size
584 B
Mime Type
text/x-php
Expires
Mon, Nov 25, 15:21 (2 d)
Engine
blob
Format
Raw Data
Handle
22503678
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