minor doc fixing

This commit is contained in:
Pepijn Over 2014-04-11 01:14:12 +02:00
parent b3856d872c
commit 1da008b3b4
3 changed files with 10 additions and 2 deletions

View File

@ -13,11 +13,13 @@ What are the differences between the user levels?
There are 2 user levels available: regular user and administrator.
Administrators:
* Manage servers.
* Manage users.
* Edit global configuration.
Regular users:
* View the status of their assigned servers.
* View the history and logs of their assigned servers.
* Run the updater on their assigned servers.

View File

@ -398,7 +398,7 @@ abstract class AbstractController implements ControllerInterface {
}
/**
* Set the minimum required user level for this module
* Set the minimum required user level for this controller
* @param int $level
* @return \psm\Module\AbstractController
*/
@ -408,7 +408,7 @@ abstract class AbstractController implements ControllerInterface {
}
/**
* Get the minimum required user level for this module
* Get the minimum required user level for this controller
* @return int
*/
public function getMinUserLevelRequired() {

View File

@ -38,4 +38,10 @@ interface ControllerInterface {
* Initialize the module
*/
public function initialize();
/**
* Get the minimum required user level for this controller
* @return int
*/
public function getMinUserLevelRequired();
}