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