Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98576069
DifferentialApplyPatchField.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
Tue, Jan 14, 12:24
Size
679 B
Mime Type
text/x-php
Expires
Thu, Jan 16, 12:24 (2 d)
Engine
blob
Format
Raw Data
Handle
23595769
Attached To
rPH Phabricator
DifferentialApplyPatchField.php
View Options
<?php
final
class
DifferentialApplyPatchField
extends
DifferentialCustomField
{
public
function
getFieldKey
()
{
return
'differential:apply-patch'
;
}
public
function
getFieldName
()
{
return
pht
(
'Apply Patch'
);
}
public
function
getFieldDescription
()
{
return
pht
(
'Provides instructions for applying a local patch.'
);
}
public
function
shouldAppearInPropertyView
()
{
return
true
;
}
public
function
renderPropertyViewLabel
()
{
return
$this
->
getFieldName
();
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
$mono
=
$this
->
getObject
()->
getMonogram
();
return
phutil_tag
(
'tt'
,
array
(),
"arc patch {$mono}"
);
}
}
Event Timeline
Log In to Comment