Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F546585
DiffusionPreCommitRefRepositoryHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
559 B
Referenced Files
None
Subscribers
None
DiffusionPreCommitRefRepositoryHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitRefRepositoryHeraldField
extends
DiffusionPreCommitRefHeraldField
{
const
FIELDCONST
=
'diffusion.pre.ref.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
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:17 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121576
Default Alt Text
DiffusionPreCommitRefRepositoryHeraldField.php (559 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment