cacert-testmgr/manager/library/actions/ActionAddPoints.php
Michael Tänzer c0b9257511 Construct and display the AddPoints view
* define input form (draft)
* create the view and make it display the form
* add a link to the view in the topNav

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-26 20:57:27 +02:00

53 lines
936 B
PHP

<?php
require_once (FWACTIONS_PATH . '/FWAction.php');
class AddPoints 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 'add-points';
}
/**
* 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 'Add Points';
}
}