\GSPPanel\SysControl
This class allows interaction with the System Controls feature
Methods
Run(integerĀ $controlid) : array
Runs the specified control id
This function does not report errors if the machine is offline or no matches were found No response is parsed or returned
Returns the following:
- error
- -1 - No controlid provided
- -2 - No system control found
- 0 - Control ran
Name | Type | Description |
---|---|---|
$controlid | integer | The control id to run |
Type | Description |
---|---|
array |