Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893269
PhabricatorProjectsWatchersSearchEngineAttachment.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
691 B
Referenced Files
None
Subscribers
None
PhabricatorProjectsWatchersSearchEngineAttachment.php
View Options
<?php
final
class
PhabricatorProjectsWatchersSearchEngineAttachment
extends
PhabricatorSearchEngineAttachment
{
public
function
getAttachmentName
(
)
{
return
pht
(
'Project Watchers'
)
;
}
public
function
getAttachmentDescription
(
)
{
return
pht
(
'Get the watcher list for the project.'
)
;
}
public
function
willLoadAttachmentData
(
$query
,
$spec
)
{
$query
->
needWatchers
(
true
)
;
}
public
function
getAttachmentForObject
(
$object
,
$data
,
$spec
)
{
$watchers
=
array
(
)
;
foreach
(
$object
->
getWatcherPHIDs
(
)
as
$watcher_phid
)
{
$watchers
[
]
=
array
(
'phid'
=>
$watcher_phid
,
)
;
}
return
array
(
'watchers'
=>
$watchers
,
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 18:08 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127277
Default Alt Text
PhabricatorProjectsWatchersSearchEngineAttachment.php (691 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment