Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99381899
PhabricatorFulltextEngineExtensionModule.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, Jan 24, 01:24
Size
828 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 01:24 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
23720069
Attached To
rPH Phabricator
PhabricatorFulltextEngineExtensionModule.php
View Options
<?php
final
class
PhabricatorFulltextEngineExtensionModule
extends
PhabricatorConfigModule
{
public
function
getModuleKey
()
{
return
'fulltextengine'
;
}
public
function
getModuleName
()
{
return
pht
(
'Engine: Fulltext'
);
}
public
function
renderModuleStatus
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$extensions
=
PhabricatorFulltextEngineExtension
::
getAllExtensions
();
$rows
=
array
();
foreach
(
$extensions
as
$extension
)
{
$rows
[]
=
array
(
get_class
(
$extension
),
$extension
->
getExtensionName
(),
);
}
return
id
(
new
AphrontTableView
(
$rows
))
->
setHeaders
(
array
(
pht
(
'Class'
),
pht
(
'Name'
),
))
->
setColumnClasses
(
array
(
null
,
'wide pri'
,
));
}
}
Event Timeline
Log In to Comment