Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110356926
ReleephBranchCommitFieldSpecification.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
Fri, Apr 25, 23:09
Size
541 B
Mime Type
text/x-php
Expires
Sun, Apr 27, 23:09 (2 d)
Engine
blob
Format
Raw Data
Handle
25811956
Attached To
rPH Phabricator
ReleephBranchCommitFieldSpecification.php
View Options
<?php
final
class
ReleephBranchCommitFieldSpecification
extends
ReleephFieldSpecification
{
public
function
getFieldKey
()
{
return
'commit'
;
}
public
function
getName
()
{
return
pht
(
'Commit'
);
}
public
function
getRequiredHandlePHIDsForPropertyView
()
{
$pull
=
$this
->
getReleephRequest
();
if
(
$pull
->
getCommitPHID
())
{
return
array
(
$pull
->
getCommitPHID
());
}
return
array
();
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
$this
->
renderHandleList
(
$handles
);
}
}
Event Timeline
Log In to Comment