Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1088408
PhabricatorSearchSelectField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
PhabricatorSearchSelectField.php
View Options
<?php
final
class
PhabricatorSearchSelectField
extends
PhabricatorSearchField
{
private
$options
;
private
$default
;
public
function
setOptions
(
array
$options
)
{
$this
->
options
=
$options
;
return
$this
;
}
public
function
getOptions
()
{
return
$this
->
options
;
}
protected
function
getDefaultValue
()
{
return
$this
->
default
;
}
public
function
setDefault
(
$default
)
{
$this
->
default
=
$default
;
return
$this
;
}
protected
function
getValueFromRequest
(
AphrontRequest
$request
,
$key
)
{
return
$request
->
getStr
(
$key
);
}
protected
function
newControl
()
{
return
id
(
new
AphrontFormSelectControl
())
->
setOptions
(
$this
->
getOptions
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 30, 2:39 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
269956
Default Alt Text
PhabricatorSearchSelectField.php (703 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment