Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96622485
DiffusionCommitRepositoryHeraldField.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, Dec 29, 02:32
Size
510 B
Mime Type
text/x-php
Expires
Tue, Dec 31, 02:32 (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
23203120
Attached To
rPH Phabricator
DiffusionCommitRepositoryHeraldField.php
View Options
<?php
final
class
DiffusionCommitRepositoryHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.repository'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Repository'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$object
->
getRepository
()->
getPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
DiffusionRepositoryDatasource
();
}
}
Event Timeline
Log In to Comment