GetConfigGroups

Description

This class is an instantion of the Command class, that executes a command pertaining to fetching configuration 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 GetConfigGroups command:

Attributes

package
modernbill
subpackage
mbapi
version
0.1
author
Mark Garrett
author
Andy Christ

Example Request

	<mbapi>
		<command><!-- None --></command>
		<showXMLHeader><!-- None --></showXMLHeader>
		<params>
			<configGroupID><!-- int --></configGroupID>
			<configGroupName><!-- string --></configGroupName>
			<parentConfigGroupID><!-- int --></parentConfigGroupID>
			<getNumChildren><!-- int --></getNumChildren>
			<getLevelOneChildren><!-- int --></getLevelOneChildren>
			<sortDir><!-- None --></sortDir>
			<sortColumn><!-- None --></sortColumn>
			<recordOffset><!-- None --></recordOffset>
			<numRecords><!-- None --></numRecords>
		</params>
	</mbapi>

		

Example Response

None
		

Request Elements

mbapi
Type
None
Description
None
Children
command
Type
None
Description
None
showXMLHeader
Type
None
Description
None
params
Type
None
Description
None
Children
configGroupID
Type
int
Description

The ID of the config group to be fetched.

configGroupName
Type
string
Description

The name of the config group whose parameters that will be fetched. This should be used sparingly as many config groups have the same name.

parentConfigGroupID
Type
int
Description

The ID of the parent config group to be fetched. This will return all config groups with this parent.

getNumChildren
Type
int
Description

Set to 1 to retrieve the number of children config groups that a config group is parent of. Should only be used in conjuction with one config group selected.

getLevelOneChildren
Type
int
Description

Set to 1 to retrieve the full info of children config groups that a config group is parent of. Should only be used in conjuction with one config group selected.

sortDir
Type
None
Description
None
sortColumn
Type
None
Description
None
recordOffset
Type
None
Description
None
numRecords
Type
None
Description
None

Response Elements

None