Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F117031056
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
Tue, Jun 10, 23:21
Size
584 B
Mime Type
text/x-php
Expires
Thu, Jun 12, 23:21 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26706053
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