Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101502905
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, Feb 11, 02:09
Size
679 B
Mime Type
text/x-php
Expires
Thu, Feb 13, 02:09 (2 d)
Engine
blob
Format
Raw Data
Handle
24179354
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