Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101615404
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
Wed, Feb 12, 02:45
Size
644 B
Mime Type
text/x-php
Expires
Fri, Feb 14, 02:45 (2 d)
Engine
blob
Format
Raw Data
Handle
24197636
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
new
ConduitPHIDListParameterType
();
}
}
Event Timeline
Log In to Comment