Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97963911
PhabricatorFerretMetadata.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, Jan 8, 01:16
Size
807 B
Mime Type
text/x-php
Expires
Fri, Jan 10, 01:16 (2 d)
Engine
blob
Format
Raw Data
Handle
23451323
Attached To
rPH Phabricator
PhabricatorFerretMetadata.php
View Options
<?php
final
class
PhabricatorFerretMetadata
extends
Phobject
{
private
$phid
;
private
$engine
;
private
$relevance
;
public
function
setEngine
(
$engine
)
{
$this
->
engine
=
$engine
;
return
$this
;
}
public
function
getEngine
()
{
return
$this
->
engine
;
}
public
function
setPHID
(
$phid
)
{
$this
->
phid
=
$phid
;
return
$this
;
}
public
function
getPHID
()
{
return
$this
->
phid
;
}
public
function
setRelevance
(
$relevance
)
{
$this
->
relevance
=
$relevance
;
return
$this
;
}
public
function
getRelevance
()
{
return
$this
->
relevance
;
}
public
function
getRelevanceSortVector
()
{
$engine
=
$this
->
getEngine
();
return
id
(
new
PhutilSortVector
())
->
addInt
(
$engine
->
getObjectTypeRelevance
())
->
addInt
(-
$this
->
getRelevance
());
}
}
Event Timeline
Log In to Comment