Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108657737
PhabricatorIndexEngineExtensionModule.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
Thu, Apr 17, 21:52
Size
816 B
Mime Type
text/x-php
Expires
Sat, Apr 19, 21:52 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25635501
Attached To
rPH Phabricator
PhabricatorIndexEngineExtensionModule.php
View Options
<?php
final
class
PhabricatorIndexEngineExtensionModule
extends
PhabricatorConfigModule
{
public
function
getModuleKey
()
{
return
'indexengine'
;
}
public
function
getModuleName
()
{
return
pht
(
'Engine: Index'
);
}
public
function
renderModuleStatus
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
();
$extensions
=
PhabricatorIndexEngineExtension
::
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