2010-04-26 18:57:27 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once (FWACTIONS_PATH . '/FWAction.php');
|
|
|
|
|
2010-06-28 15:30:31 +00:00
|
|
|
class ManageAccount extends FWAction {
|
2010-04-26 18:57:27 +00:00
|
|
|
/**
|
|
|
|
* 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() {
|
2010-06-28 15:30:31 +00:00
|
|
|
return 'manage-account';
|
2010-04-26 18:57:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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() {
|
2010-06-28 15:30:31 +00:00
|
|
|
return I18n::_('Manage Account');
|
2010-04-26 18:57:27 +00:00
|
|
|
}
|
|
|
|
}
|