2011-04-14 00:15:48 +02:00
|
|
|
<?php
|
|
|
|
|
2012-10-01 23:04:03 +02:00
|
|
|
final class PhabricatorApplicationMacro extends PhabricatorApplication {
|
2011-04-14 00:15:48 +02:00
|
|
|
|
2012-10-01 23:04:03 +02:00
|
|
|
public function getBaseURI() {
|
|
|
|
return '/macro/';
|
2011-04-14 00:15:48 +02:00
|
|
|
}
|
|
|
|
|
2012-10-01 23:04:03 +02:00
|
|
|
public function getShortDescription() {
|
|
|
|
return 'Image Macros and Memes';
|
|
|
|
}
|
2011-04-14 00:15:48 +02:00
|
|
|
|
2012-10-01 23:04:03 +02:00
|
|
|
public function getAutospriteName() {
|
|
|
|
return 'macro';
|
|
|
|
}
|
2011-04-14 00:15:48 +02:00
|
|
|
|
2012-10-01 23:04:03 +02:00
|
|
|
public function getTitleGlyph() {
|
|
|
|
return "\xE2\x9A\x98";
|
|
|
|
}
|
2011-04-14 00:15:48 +02:00
|
|
|
|
2012-10-04 00:46:19 +02:00
|
|
|
public function getApplicationGroup() {
|
|
|
|
return self::GROUP_UTILITIES;
|
|
|
|
}
|
|
|
|
|
2012-10-01 23:04:03 +02:00
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
'/macro/' => array(
|
|
|
|
'' => 'PhabricatorMacroListController',
|
2012-10-06 01:06:16 +02:00
|
|
|
'edit/(?:(?P<id>[1-9]\d*)/)?' => 'PhabricatorMacroEditController',
|
|
|
|
'delete/(?P<id>[1-9]\d*)/' => 'PhabricatorMacroDeleteController',
|
2012-10-01 23:04:03 +02:00
|
|
|
),
|
|
|
|
);
|
2011-04-14 00:15:48 +02:00
|
|
|
}
|
|
|
|
|
2012-10-01 23:04:03 +02:00
|
|
|
}
|