Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F449090
DifferentialAuthorField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
789 B
Referenced Files
None
Subscribers
None
DifferentialAuthorField.php
View Options
<?php
final
class
DifferentialAuthorField
extends
DifferentialCustomField
{
public
function
getFieldKey
()
{
return
'differential:author'
;
}
public
function
getFieldName
()
{
return
pht
(
'Author'
);
}
public
function
getFieldDescription
()
{
return
pht
(
'Stores the revision author.'
);
}
public
function
canDisableField
()
{
return
false
;
}
public
function
shouldAppearInPropertyView
()
{
return
true
;
}
public
function
renderPropertyViewLabel
()
{
return
$this
->
getFieldName
();
}
public
function
getRequiredHandlePHIDsForPropertyView
()
{
return
array
(
$this
->
getObject
()->
getAuthorPHID
());
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
$handles
[
$this
->
getObject
()->
getAuthorPHID
()]->
renderLink
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 7:03 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
67312
Default Alt Text
DifferentialAuthorField.php (789 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment