Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102744683
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
Sun, Feb 23, 18:05
Size
614 B
Mime Type
text/x-php
Expires
Tue, Feb 25, 18:05 (2 d)
Engine
blob
Format
Raw Data
Handle
24390307
Attached To
rPH Phabricator
ReleephRevisionFieldSpecification.php
View Options
<?php
final
class
ReleephRevisionFieldSpecification
extends
ReleephFieldSpecification
{
public
function
getFieldKey
()
{
return
'revision'
;
}
public
function
getName
()
{
return
'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