Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91082209
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
Thu, Nov 7, 17:05
Size
679 B
Mime Type
text/x-php
Expires
Sat, Nov 9, 17:05 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22192882
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