Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122070190
PhutilSearchQueryToken.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
Tue, Jul 15, 14:43
Size
709 B
Mime Type
text/x-php
Expires
Thu, Jul 17, 14:43 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27430380
Attached To
rPHU libphutil
PhutilSearchQueryToken.php
View Options
<?php
final
class
PhutilSearchQueryToken
extends
Phobject
{
private
$isQuoted
;
private
$value
;
private
$operator
;
private
$function
;
public
static
function
newFromDictionary
(
array
$dictionary
)
{
$token
=
new
self
();
$token
->
isQuoted
=
$dictionary
[
'quoted'
];
$token
->
operator
=
$dictionary
[
'operator'
];
$token
->
value
=
$dictionary
[
'value'
];
$token
->
function
=
idx
(
$dictionary
,
'function'
);
return
$token
;
}
public
function
isQuoted
()
{
return
$this
->
isQuoted
;
}
public
function
getValue
()
{
return
$this
->
value
;
}
public
function
getOperator
()
{
return
$this
->
operator
;
}
public
function
getFunction
()
{
return
$this
->
function
;
}
}
Event Timeline
Log In to Comment