This class is an instantion of the Command class, that executes a command pertaining to fetching theme information 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 GetThemes command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <themeID><!-- int --></themeID> <themeName><!-- string --></themeName> <themeDisplayName><!-- string --></themeDisplayName> <themeActive><!-- int --></themeActive> <adminID><!-- int --></adminID> <clientID><!-- int --></clientID> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
themeID
The ID of the theme to fetch. This will always select at most 1 theme.
themeName
The name of the theme to fetch. This is also the name of the directory for the theme.
themeDisplayName
The name displayed in the interface of the theme to fetch.
themeActive
Set to one to retrieve themes that are active.
adminID
Set to an admin's ID to retrieve the theme information for that admin.
clientID
Set to an client's ID to retrieve the theme information for that client.
sortDir
sortColumn
recordOffset
numRecords