Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82494011
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
Wed, Sep 11, 18:09
Size
619 B
Mime Type
text/x-php
Expires
Fri, Sep 13, 18:09 (2 d)
Engine
blob
Format
Raw Data
Handle
20707540
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