Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F465223
PhabricatorIDsSearchField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
678 B
Referenced Files
None
Subscribers
None
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
id
(
new
ConduitIntListParameterType
())
->
setAllowEmptyList
(
false
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 10:34 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
74492
Default Alt Text
PhabricatorIDsSearchField.php (678 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment