Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F441913
PhabricatorSearchSubscribersField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
766 B
Referenced Files
None
Subscribers
None
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
,
PhabricatorOwnersPackagePHIDType
::
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
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 7:56 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
64113
Default Alt Text
PhabricatorSearchSubscribersField.php (766 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment