Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F573802
HarbormasterQueryBuildsSearchEngineAttachment.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
859 B
Referenced Files
None
Subscribers
None
HarbormasterQueryBuildsSearchEngineAttachment.php
View Options
<?php
final
class
HarbormasterQueryBuildsSearchEngineAttachment
extends
PhabricatorSearchEngineAttachment
{
public
function
getAttachmentName
()
{
return
pht
(
'Harbormaster Query Builds'
);
}
public
function
getAttachmentDescription
()
{
return
pht
(
'This attachment exists solely to provide compatibility with the '
.
'message format returned by an outdated API method. It will be '
.
'taken away at some point and you should not rely on these fields '
.
'being available.'
);
}
public
function
getAttachmentForObject
(
$object
,
$data
,
$spec
)
{
$status_name
=
HarbormasterBuildStatus
::
getBuildStatusName
(
$object
->
getBuildStatus
());
return
array
(
'uri'
=>
PhabricatorEnv
::
getProductionURI
(
$object
->
getURI
()),
'name'
=>
$object
->
getName
(),
'buildStatusName'
=>
$status_name
,
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 6:10 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
99453
Default Alt Text
HarbormasterQueryBuildsSearchEngineAttachment.php (859 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment