Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F450532
DifferentialApplyPatchField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
679 B
Referenced Files
None
Subscribers
None
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}"
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 8:46 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
67800
Default Alt Text
DifferentialApplyPatchField.php (679 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment