Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1105103
PhabricatorFulltextEngineExtension.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
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
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 30, 7:25 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
267619
Default Alt Text
PhabricatorFulltextEngineExtension.php (703 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment