Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91134505
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
Fri, Nov 8, 06:30
Size
510 B
Mime Type
text/x-php
Expires
Sun, Nov 10, 06:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22201151
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