Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100806065
PhabricatorFulltextEngineExtension.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
Sun, Feb 2, 22:25
Size
703 B
Mime Type
text/x-php
Expires
Tue, Feb 4, 22:25 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
23998497
Attached To
rPH Phabricator
PhabricatorFulltextEngineExtension.php
View Options
<?php
abstract
class
PhabricatorFulltextEngineExtension
extends
Phobject
{
final
public
function
getExtensionKey
()
{
return
$this
->
getPhobjectClassConstant
(
'EXTENSIONKEY'
);
}
final
protected
function
getViewer
()
{
return
PhabricatorUser
::
getOmnipotentUser
();
}
abstract
public
function
getExtensionName
();
abstract
public
function
shouldIndexFulltextObject
(
$object
);
abstract
public
function
indexFulltextObject
(
$object
,
PhabricatorSearchAbstractDocument
$document
);
final
public
static
function
getAllExtensions
()
{
return
id
(
new
PhutilClassMapQuery
())
->
setAncestorClass
(
__CLASS__
)
->
setUniqueMethod
(
'getExtensionKey'
)
->
execute
();
}
}
Event Timeline
Log In to Comment