Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893304
PhutilSearchQueryToken.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
709 B
Referenced Files
None
Subscribers
None
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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 18:12 (6 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127305
Default Alt Text
PhutilSearchQueryToken.php (709 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment