Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F76048292
ReleephRevisionFieldSpecification.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, Aug 5, 22:35
Size
619 B
Mime Type
text/x-php
Expires
Wed, Aug 7, 22:35 (2 d)
Engine
blob
Format
Raw Data
Handle
19654947
Attached To
rPH Phabricator
ReleephRevisionFieldSpecification.php
View Options
<?php
final
class
ReleephRevisionFieldSpecification
extends
ReleephFieldSpecification
{
public
function
getFieldKey
()
{
return
'revision'
;
}
public
function
getName
()
{
return
pht
(
'Revision'
);
}
public
function
getRequiredHandlePHIDsForPropertyView
()
{
$requested_object
=
$this
->
getObject
()->
getRequestedObjectPHID
();
if
(!(
$requested_object
instanceof
DifferentialRevision
))
{
return
array
();
}
return
array
(
$requested_object
->
getPHID
(),
);
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
$this
->
renderHandleList
(
$handles
);
}
}
Event Timeline
Log In to Comment