cacert-testmgr/manager/library/actions/ActionManageAccount.php
Michael Tänzer cab10c7d63 String is translated by the menu framework
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-07-01 20:00:51 +02:00

53 lines
948 B
PHP

<?php
require_once (FWACTIONS_PATH . '/FWAction.php');
class ManageAccount 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 50;
}
/**
* controller to invoke
* @return string
*/
public static function getController() {
return 'manage-account';
}
/**
* 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 'Manage Account';
}
}