SysControl

API Documentation

\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
Parameters
NameTypeDescription
$controlidinteger

The control id to run

Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.9.0.