CustomerGroupHandler
This class contains the functions to perform the following:
- Retrieve Customer Groups(s)
api | |
---|---|
package | simPROAPI |
subpackage | Customers |
author | Nathan Muir |
version | 2011-08-23 |
Retrieve(int $CompanyID, int $CustomerGroupID) : array
This function retrieves details for a specific details id
uses | \CustomerGroupHandler::RetrieveList() |
---|
int
the Company ID. In single company builds, this is 0.
int
the Customer Group id to retrieve details for
array
RetrieveList(int $CompanyID, array $CustomerGroupIDs) : array
This function retrieves details on the provided list of Customer Group ids
used_by | \CustomerGroupHandler::Search() |
---|---|
used_by | \CustomerGroupHandler::Retrieve() |
int
the Company ID. In single company builds, this is 0.
array
the Customer Group ids to retrieve details for
array
Search(int $CompanyID, string $Name = '%') : array
This function searches for a customer group with a name. Use % for wildcards
uses | \CustomerGroupHandler::RetrieveList() |
---|
int
the Company ID. In single company builds, this is 0.
string
The Customer Group Name to search for
array