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:
Michael Kaufmann (d00p)
2018-02-24 10:57:52 +01:00
parent 81d6a856d9
commit 9a61a56732
9 changed files with 217 additions and 62 deletions

View File

@@ -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
*/