Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F464925
PhabricatorSearchDatasourceField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
706 B
Referenced Files
None
Subscribers
None
PhabricatorSearchDatasourceField.php
View Options
<?php
final
class
PhabricatorSearchDatasourceField
extends
PhabricatorSearchTokenizerField
{
private
$datasource
;
private
$conduitParameterType
;
protected
function
newDatasource
()
{
return
id
(
clone
$this
->
datasource
);
}
public
function
setDatasource
(
PhabricatorTypeaheadDatasource
$datasource
)
{
$this
->
datasource
=
$datasource
;
return
$this
;
}
public
function
setConduitParameterType
(
ConduitParameterType
$type
)
{
$this
->
conduitParameterType
=
$type
;
return
$this
;
}
protected
function
newConduitParameterType
()
{
if
(!
$this
->
conduitParameterType
)
{
return
new
ConduitStringListParameterType
();
}
return
$this
->
conduitParameterType
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 10:08 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
74267
Default Alt Text
PhabricatorSearchDatasourceField.php (706 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment