minor doc fixing

pull/62/merge
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. There are 2 user levels available: regular user and administrator.
Administrators: Administrators:
* Manage servers. * Manage servers.
* Manage users. * Manage users.
* Edit global configuration. * Edit global configuration.
Regular users: Regular users:
* View the status of their assigned servers. * View the status of their assigned servers.
* View the history and logs of their assigned servers. * View the history and logs of their assigned servers.
* Run the updater on 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 * @param int $level
* @return \psm\Module\AbstractController * @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 * @return int
*/ */
public function getMinUserLevelRequired() { public function getMinUserLevelRequired() {

View File

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