Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106137721
PhabricatorPHIDsSearchField.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
Sun, Mar 23, 01:03
Size
681 B
Mime Type
text/x-php
Expires
Tue, Mar 25, 01:03 (2 d)
Engine
blob
Format
Raw Data
Handle
25043225
Attached To
rPH Phabricator
PhabricatorPHIDsSearchField.php
View Options
<?php
final
class
PhabricatorPHIDsSearchField
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
ConduitPHIDListParameterType
())
->
setAllowEmptyList
(
false
);
}
}
Event Timeline
Log In to Comment