Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96196247
PhabricatorIDsSearchField.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 23, 16:23
Size
641 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 16:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23142060
Attached To
rPH Phabricator
PhabricatorIDsSearchField.php
View Options
<?php
final
class
PhabricatorIDsSearchField
extends
PhabricatorSearchField
{
protected
function
getDefaultValue
()
{
return
array
();
}
protected
function
getValueFromRequest
(
AphrontRequest
$request
,
$key
)
{
return
$request
->
getStrList
(
$key
);
}
protected
function
newControl
()
{
if
(
strlen
(
$this
->
getValueForControl
()))
{
return
new
AphrontFormTextControl
();
}
else
{
return
null
;
}
}
protected
function
getValueForControl
()
{
return
implode
(
', '
,
parent
::
getValueForControl
());
}
protected
function
newConduitParameterType
()
{
return
new
ConduitIntListParameterType
();
}
}
Event Timeline
Log In to Comment