summaryrefslogtreecommitdiff
path: root/manager/library/actions/ActionMail.php
diff options
context:
space:
mode:
Diffstat (limited to 'manager/library/actions/ActionMail.php')
-rw-r--r--manager/library/actions/ActionMail.php53
1 files changed, 53 insertions, 0 deletions
diff --git a/manager/library/actions/ActionMail.php b/manager/library/actions/ActionMail.php
new file mode 100644
index 0000000..4ed23de
--- /dev/null
+++ b/manager/library/actions/ActionMail.php
@@ -0,0 +1,53 @@
+<?php
+
+require_once (FWACTIONS_PATH . '/FWAction.php');
+
+class Mail extends FWAction {
+ /**
+ * get a list of required permissions that are needed to access this action
+ * @return array
+ */
+ public static function getRequiredPermissions() {
+ return array();
+ }
+
+ /**
+ * get a role that is required for accessing that action
+ * @return string
+ */
+ public static function getRequiredRole() {
+ return 'User';
+ }
+
+ /**
+ * sort order for top navigation
+ * @return integer
+ */
+ public static function getTopNavPrio() {
+ return 100;
+ }
+
+ /**
+ * controller to invoke
+ * @return string
+ */
+ public static function getController() {
+ return 'mail';
+ }
+
+ /**
+ * action to invoke
+ * @return string
+ */
+ public static function getAction() {
+ return 'index';
+ }
+
+ /**
+ * get text for menu, caller is responsible for translating
+ * @return string
+ */
+ public static function getMenuText() {
+ return 'Mail';
+ }
+}