Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78332944
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, Aug 19, 21:26
Size
675 B
Mime Type
text/x-php
Expires
Wed, Aug 21, 21:26 (2 d)
Engine
blob
Format
Raw Data
Handle
20027181
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