Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F552003
DifferentialRevisionStatusHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
654 B
Referenced Files
None
Subscribers
None
DifferentialRevisionStatusHeraldField.php
View Options
<?php
final
class
DifferentialRevisionStatusHeraldField
extends
DifferentialRevisionHeraldField
{
const
FIELDCONST
=
'revision.status'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Revision status'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getStatus
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
DifferentialRevisionStatusDatasource
();
}
protected
function
getDatasourceValueMap
()
{
$map
=
DifferentialRevisionStatus
::
getAll
();
return
mpull
(
$map
,
'getDisplayName'
,
'getKey'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 4:04 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
123363
Default Alt Text
DifferentialRevisionStatusHeraldField.php (654 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment