Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91173568
PhabricatorUserFulltextEngine.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
Fri, Nov 8, 15:45
Size
571 B
Mime Type
text/x-php
Expires
Sun, Nov 10, 15:45 (2 d)
Engine
blob
Format
Raw Data
Handle
22203979
Attached To
rPH Phabricator
PhabricatorUserFulltextEngine.php
View Options
<?php
final
class
PhabricatorUserFulltextEngine
extends
PhabricatorFulltextEngine
{
protected
function
buildAbstractDocument
(
PhabricatorSearchAbstractDocument
$document
,
$object
)
{
$user
=
$object
;
$document
->
setDocumentTitle
(
$user
->
getFullName
());
$document
->
addRelationship
(
$user
->
isUserActivated
()
?
PhabricatorSearchRelationship
::
RELATIONSHIP_OPEN
:
PhabricatorSearchRelationship
::
RELATIONSHIP_CLOSED
,
$user
->
getPHID
(),
PhabricatorPeopleUserPHIDType
::
TYPECONST
,
PhabricatorTime
::
getNow
());
}
}
Event Timeline
Log In to Comment