Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93589408
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
Fri, Nov 29, 23:45
Size
571 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 23:45 (2 d)
Engine
blob
Format
Raw Data
Handle
22668813
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