Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F549837
DivinerLiveBookFulltextEngine.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
606 B
Referenced Files
None
Subscribers
None
DivinerLiveBookFulltextEngine.php
View Options
<?php
final
class
DivinerLiveBookFulltextEngine
extends
PhabricatorFulltextEngine
{
protected
function
buildAbstractDocument
(
PhabricatorSearchAbstractDocument
$document
,
$object
)
{
$book
=
$object
;
$document
->
setDocumentTitle
(
$book
->
getTitle
());
$document
->
addField
(
PhabricatorSearchDocumentFieldType
::
FIELD_BODY
,
$book
->
getPreface
());
$document
->
addRelationship
(
PhabricatorSearchRelationship
::
RELATIONSHIP_REPOSITORY
,
$book
->
getRepositoryPHID
(),
PhabricatorRepositoryRepositoryPHIDType
::
TYPECONST
,
$book
->
getDateCreated
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 2:20 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122193
Default Alt Text
DivinerLiveBookFulltextEngine.php (606 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment