We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ee7e6 commit 8abbe59Copy full SHA for 8abbe59
README.md
@@ -10,11 +10,12 @@ See the example files, but typical useage takes the form of:
10
11
```
12
//load class
13
-$cpuapi = new cpaneluapi();
+$cpuapi = new cpaneluapi('user', 'password', 'cpanel.example.com');
14
15
//Set the scope to the module we want to use. in this case, Mysql
16
$cpuapi->scope = 'Mysql';
17
18
//call the function we want like this. Any arguments are passed into the function as an array, in the form of param => value.
19
-$cpuapi->get_restrictions();
+$response = $cpuapi->get_restrictions();
20
+print_r($response);
21
0 commit comments