1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/metamta/application/PhabricatorApplicationMetaMTA.php

44 lines
870 B
PHP
Raw Normal View History

<?php
final class PhabricatorApplicationMetaMTA extends PhabricatorApplication {
public function getBaseURI() {
return '/mail/';
}
public function getShortDescription() {
return pht('View Mail Logs');
}
public function getIconName() {
return 'metamta';
}
public function getFlavorText() {
return pht('Yo dawg, we heard you like MTAs.');
}
public function getApplicationGroup() {
return self::GROUP_ADMIN;
}
public function canUninstall() {
return false;
}
public function getRoutes() {
return array(
$this->getBaseURI() => array(
'' => 'PhabricatorMetaMTAListController',
'view/(?P<id>[1-9]\d*)/' => 'PhabricatorMetaMTAViewController',
'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
),
);
}
public function getTitleGlyph() {
return '@';
}
}