Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96155353
DifferentialCommitsField.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, Dec 23, 06:22
Size
758 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 06:22 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23135045
Attached To
rPH Phabricator
DifferentialCommitsField.php
View Options
<?php
final
class
DifferentialCommitsField
extends
DifferentialCustomField
{
public
function
getFieldKey
()
{
return
'differential:commits'
;
}
public
function
getFieldName
()
{
return
pht
(
'Commits'
);
}
public
function
canDisableField
()
{
return
false
;
}
public
function
getFieldDescription
()
{
return
pht
(
'Shows associated commits.'
);
}
public
function
shouldAppearInPropertyView
()
{
return
true
;
}
public
function
renderPropertyViewLabel
()
{
return
$this
->
getFieldName
();
}
public
function
getRequiredHandlePHIDsForPropertyView
()
{
return
$this
->
getObject
()->
getCommitPHIDs
();
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
$this
->
renderHandleList
(
$handles
);
}
}
Event Timeline
Log In to Comment