Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91422098
DiffusionPreCommitContentRepositoryHeraldField.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 10, 23:14
Size
571 B
Mime Type
text/x-php
Expires
Tue, Nov 12, 23:14 (2 d)
Engine
blob
Format
Raw Data
Handle
22260986
Attached To
rPH Phabricator
DiffusionPreCommitContentRepositoryHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentRepositoryHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.repository'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Repository'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getHookEngine
()->
getRepository
()->
getPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
DiffusionRepositoryDatasource
();
}
}
Event Timeline
Log In to Comment