Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93934153
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
Mon, Dec 2, 15:20
Size
715 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 15:20 (2 d)
Engine
blob
Format
Raw Data
Handle
22727011
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