Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548352
DiffusionCommitPackageHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
669 B
Referenced Files
None
Subscribers
None
DiffusionCommitPackageHeraldField.php
View Options
<?php
final
class
DiffusionCommitPackageHeraldField
extends
DiffusionCommitHeraldField
{
const
FIELDCONST
=
'diffusion.commit.package'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Affected packages'
);
}
public
function
getFieldGroupKey
()
{
return
HeraldRelatedFieldGroup
::
FIELDGROUPKEY
;
}
public
function
getHeraldFieldValue
(
$object
)
{
$packages
=
$this
->
getAdapter
()->
loadAffectedPackages
();
return
mpull
(
$packages
,
'getPHID'
);
}
protected
function
getHeraldFieldStandardType
()
{
return
self
::
STANDARD_PHID_LIST
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorOwnersPackageDatasource
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:47 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121861
Default Alt Text
DiffusionCommitPackageHeraldField.php (669 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment