Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92156598
ReleephAuthorFieldSpecification.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
Sun, Nov 17, 20:49
Size
665 B
Mime Type
text/x-php
Expires
Tue, Nov 19, 20:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22384588
Attached To
rPH Phabricator
ReleephAuthorFieldSpecification.php
View Options
<?php
final
class
ReleephAuthorFieldSpecification
extends
ReleephFieldSpecification
{
public
function
getFieldKey
()
{
return
'author'
;
}
public
function
getName
()
{
return
pht
(
'Author'
);
}
public
function
getRequiredHandlePHIDsForPropertyView
()
{
$pull
=
$this
->
getReleephRequest
();
$commit
=
$pull
->
loadPhabricatorRepositoryCommit
();
if
(!
$commit
)
{
return
array
();
}
$author_phid
=
$commit
->
getAuthorPHID
();
if
(!
$author_phid
)
{
return
array
();
}
return
array
(
$author_phid
);
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
$this
->
renderHandleList
(
$handles
);
}
}
Event Timeline
Log In to Comment