Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F555425
PassphraseCredentialFulltextEngine.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
713 B
Referenced Files
None
Subscribers
None
PassphraseCredentialFulltextEngine.php
View Options
<?php
final
class
PassphraseCredentialFulltextEngine
extends
PhabricatorFulltextEngine
{
protected
function
buildAbstractDocument
(
PhabricatorSearchAbstractDocument
$document
,
$object
)
{
$credential
=
$object
;
$document
->
setDocumentTitle
(
$credential
->
getName
());
$document
->
addField
(
PhabricatorSearchDocumentFieldType
::
FIELD_BODY
,
$credential
->
getDescription
());
$document
->
addRelationship
(
$credential
->
getIsDestroyed
()
?
PhabricatorSearchRelationship
::
RELATIONSHIP_CLOSED
:
PhabricatorSearchRelationship
::
RELATIONSHIP_OPEN
,
$credential
->
getPHID
(),
PassphraseCredentialPHIDType
::
TYPECONST
,
PhabricatorTime
::
getNow
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 6:35 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
124962
Default Alt Text
PassphraseCredentialFulltextEngine.php (713 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment