cacert-testmgr/manager/library/actions/ActionManageAccount.php
Michael Tänzer 73761fe863 Rename AddPoints to ManageAccount
The controller will contain all actions required to manage the test account

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-28 17:30:31 +02:00

53 lines
957 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 I18n::_('Manage Account');
}
}