This class is an instantion of the Command class, that executes a command pertaining to fetching server information, in the default case from the database. This class should only be instantiated by dispatchMBAPI() found in include/mbapi/mbapi.php. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetServers command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <serverID><!-- None --></serverID> <serverName><!-- None --></serverName> <serverIP><!-- None --></serverIP> <serverDescription><!-- None --></serverDescription> <serverStatus><!-- None --></serverStatus> <serverActive><!-- None --></serverActive> <getServerGroupData><!-- None --></getServerGroupData> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
serverID
serverName
serverIP
serverDescription
serverStatus
serverActive
getServerGroupData
sortDir
sortColumn
recordOffset
numRecords