2012-08-13 21:37:06 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class PhabricatorApplicationMetaMTA extends PhabricatorApplication {
|
|
|
|
|
|
|
|
public function getBaseURI() {
|
|
|
|
return '/mail/';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getShortDescription() {
|
|
|
|
return 'View Mail Logs';
|
|
|
|
}
|
|
|
|
|
2012-08-14 23:23:55 +02:00
|
|
|
public function getAutospriteName() {
|
|
|
|
return 'mail';
|
|
|
|
}
|
|
|
|
|
2012-10-04 00:16:26 +02:00
|
|
|
public function getFlavorText() {
|
|
|
|
return pht('Yo dawg, we heard you like MTAs.');
|
|
|
|
}
|
|
|
|
|
2012-10-04 00:46:19 +02:00
|
|
|
public function getApplicationGroup() {
|
|
|
|
return self::GROUP_ADMIN;
|
|
|
|
}
|
|
|
|
|
2012-08-13 21:37:06 +02:00
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
$this->getBaseURI() => array(
|
|
|
|
'' => 'PhabricatorMetaMTAListController',
|
|
|
|
'send/' => 'PhabricatorMetaMTASendController',
|
2012-10-06 01:06:16 +02:00
|
|
|
'view/(?P<id>[1-9]\d*)/' => 'PhabricatorMetaMTAViewController',
|
2012-08-13 21:37:06 +02:00
|
|
|
'receive/' => 'PhabricatorMetaMTAReceiveController',
|
|
|
|
'received/' => 'PhabricatorMetaMTAReceivedListController',
|
|
|
|
'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getTitleGlyph() {
|
|
|
|
return '@';
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|