Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2890439
PhabricatorConfigSiteModule.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
809 B
Referenced Files
None
Subscribers
None
PhabricatorConfigSiteModule.php
View Options
<?php
final
class
PhabricatorConfigSiteModule
extends
PhabricatorConfigModule
{
public
function
getModuleKey
(
)
{
return
'site'
;
}
public
function
getModuleName
(
)
{
return
pht
(
'Sites'
)
;
}
public
function
renderModuleStatus
(
AphrontRequest
$request
)
{
$viewer
=
$request
->
getViewer
(
)
;
$sites
=
AphrontSite
::
getAllSites
(
)
;
$rows
=
array
(
)
;
foreach
(
$sites
as
$key
=>
$site
)
{
$rows
[
]
=
array
(
$site
->
getPriority
(
)
,
$key
,
$site
->
getDescription
(
)
,
)
;
}
return
id
(
new
AphrontTableView
(
$rows
)
)
->
setHeaders
(
array
(
pht
(
'Priority'
)
,
pht
(
'Class'
)
,
pht
(
'Description'
)
,
)
)
->
setColumnClasses
(
array
(
null
,
'pri'
,
'wide'
,
)
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 13:35 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1125113
Default Alt Text
PhabricatorConfigSiteModule.php (809 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment