PrebuildGroupHandler
This class contains the functions to manage Prebuild Groups
api | |
---|---|
package | simPROAPI |
subpackage | Materials |
author | Nathan Muir |
version | 2011-07-18 |
Insert(int $CompanyID, string $GroupName) : int
int
the Company ID. In single company builds, this is 0.
string
the group to add
int
Retrieve(int $CompanyID, int $PrebuildGroupID) : array
This function retrieves details for a specific details id
uses | \PrebuildGroupHandler::RetrieveList() |
---|
int
the Company ID. In single company builds, this is 0.
int
the Prebuild Group id to retrieve details for
array
RetrieveList(int $CompanyID, array $PrebuildGroupIDs) : array
This function retrieves details on the provided list of Prebuild Group ids
used_by | \PrebuildGroupHandler::Search() |
---|---|
used_by | \PrebuildGroupHandler::Retrieve() |
int
the Company ID. In single company builds, this is 0.
array
the Prebuild Group ids to retrieve details for
array
Search(int $CompanyID, string $Search = '') : array
This function searches for a prebuild group with a name. Use % for wildcards
uses | \PrebuildGroupHandler::RetrieveList() |
---|
int
the Company ID. In single company builds, this is 0.
string
The Prebuild Group Name to search for
array
Update(int $CompanyID, int $PrebuildGroupID, string $GroupName) : bool
int
the Company ID. In single company builds, this is 0.
int
the prebuild group id to update
string
the new group name
bool