Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96139789
PhabricatorEmailFormatSettingsPanel.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
Mon, Dec 23, 01:42
Size
675 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 01:42 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23131252
Attached To
rPH Phabricator
PhabricatorEmailFormatSettingsPanel.php
View Options
<?php
final
class
PhabricatorEmailFormatSettingsPanel
extends
PhabricatorEditEngineSettingsPanel
{
const
PANELKEY
=
'emailformat'
;
public
function
getPanelName
()
{
return
pht
(
'Email Format'
);
}
public
function
getPanelGroupKey
()
{
return
PhabricatorSettingsEmailPanelGroup
::
PANELGROUPKEY
;
}
public
function
isUserPanel
()
{
return
PhabricatorMetaMTAMail
::
shouldMultiplexAllMail
();
}
public
function
isManagementPanel
()
{
if
(!
$this
->
isUserPanel
())
{
return
false
;
}
if
(
$this
->
getUser
()->
getIsMailingList
())
{
return
true
;
}
return
false
;
}
public
function
isTemplatePanel
()
{
return
true
;
}
}
Event Timeline
Log In to Comment