Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2983612
DiffusionPreCommitRefRepositoryHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
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
Thu, Feb 20, 19:23 (2 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1163533
Default Alt Text
DiffusionPreCommitRefRepositoryHeraldField.php (559 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment