CatalogSubGroupHandler
api | |
---|---|
package | simPROAPI |
subpackage | Materials |
author | Nathan Muir |
version | 2011-07-18 |
Insert(int $CompanyID, int $CatalogGroupID, string $SubGroupName) : int
int
the company id
int
the catalog group to add the sub-group to
string
the sub-group to add
int
Retrieve(int $CompanyID, int $CatalogSubGroupID) : array
This function retrieves details for a specific details id
uses | \CatalogSubGroupHandler::RetrieveList() |
---|
int
the Company ID. In single company builds, this is 0.
int
the Catalog Sub-Group id to retrieve details for
array
RetrieveList(int $CompanyID, array $CatalogSubGroupIDs = array(), array $CatalogGroupIDs = array()) : array
This function retrieves details on the provided list of Catalog Sub-Group ids
used_by | \CatalogSubGroupHandler::Search() |
---|---|
used_by | \CatalogSubGroupHandler::Retrieve() |
int
the Company ID. In single company builds, this is 0.
array
the Catalog Sub-Group ids to retrieve details for
array
the Catalog Group ids to retrieve details for -- parameter will be removed.
array
Search(int $CompanyID, string $Search = '', int $CatalogGroupID = null) : array
This function searches for a catalog sub-group with a name. Use % for wildcards
uses | \CatalogSubGroupHandler::RetrieveList() |
---|
int
the Company ID. In single company builds, this is 0.
string
The Catalog Sub-Group Name to search for
int
the Catalog Group id to search for sub groups, null to search all groups
array
Update(int $CompanyID, int $CatalogSubGroupID, string $SubGroupName, int $CatalogGroupID = null) : bool
int
the company id
int
the Sub-Group to update.
string
the new sub-group name
int
the catalog group to move the sub-group to. Null/Zero keeps the current value.
bool