enhance phpdoc and add @access to specify which usergroup can use the ApiCommands; add --import-settings parameter to config-services.php CLI script to gain even more automatism when setting up
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -31,6 +31,7 @@ class Mysqls extends ApiCommand implements ResourceEntity
|
||||
* @param int $dbserver
|
||||
* optional, specify database-server, default is none
|
||||
*
|
||||
* @access admin, customer
|
||||
* @throws Exception
|
||||
* @return array
|
||||
*/
|
||||
@@ -130,6 +131,7 @@ class Mysqls extends ApiCommand implements ResourceEntity
|
||||
* @param string $loginname
|
||||
* optional, admin-only, select dbs of a specific customer by loginname
|
||||
*
|
||||
* @access admin, customer
|
||||
* @return array count|list
|
||||
*/
|
||||
public function list()
|
||||
@@ -220,6 +222,7 @@ class Mysqls extends ApiCommand implements ResourceEntity
|
||||
* @param int $dbserver
|
||||
* optional, specify database-server, default is none
|
||||
*
|
||||
* @access admin, customer
|
||||
* @throws Exception
|
||||
* @return array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user