Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F546044
DiffusionCommitRepositoryProjectsHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
652 B
Referenced Files
None
Subscribers
None
DiffusionCommitRepositoryProjectsHeraldField.php
View Options
<?php
final
class
DiffusionCommitRepositoryProjectsHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.repository.projects'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Repository projects'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
PhabricatorEdgeQuery
::
loadDestinationPHIDs
(
$object
->
getRepository
()->
getPHID
(),
PhabricatorProjectObjectHasProjectEdgeType
::
EDGECONST
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID_LIST
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorProjectDatasource
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:06 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
112899
Default Alt Text
DiffusionCommitRepositoryProjectsHeraldField.php (652 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment