Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93190456
PhabricatorSearchSubscribersField.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
Tue, Nov 26, 21:45
Size
715 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 21:45 (2 d)
Engine
blob
Format
Raw Data
Handle
22592614
Attached To
rPH Phabricator
PhabricatorSearchSubscribersField.php
View Options
<?php
final
class
PhabricatorSearchSubscribersField
extends
PhabricatorSearchTokenizerField
{
protected
function
getDefaultValue
()
{
return
array
();
}
protected
function
getValueFromRequest
(
AphrontRequest
$request
,
$key
)
{
$allow_types
=
array
(
PhabricatorProjectProjectPHIDType
::
TYPECONST
,
);
return
$this
->
getUsersFromRequest
(
$request
,
$key
,
$allow_types
);
}
protected
function
newDatasource
()
{
return
new
PhabricatorMetaMTAMailableFunctionDatasource
();
}
protected
function
newConduitParameterType
()
{
// TODO: Ideally, this should eventually be a "Subscribers" type which
// accepts projects as well.
return
new
ConduitUserListParameterType
();
}
}
Event Timeline
Log In to Comment