ProjectHandler

This class contains the functions to perform the following:

Retrieve:

  • Project(s) [Job, Quote, Prospect]
Insert:
  • Project(s)[Job, Quote, Prospect]
Update:
  • Project(s) [Job, Quote, Prospect]
  • Project Flag

api
package simPROAPI
subpackage Projects
author Nathan Muir
version 2011-07-18

 Methods

ProjectStatusRetrieve

StatusRetrieve(int $CompanyID, int $StatusID) : array
StaticNot Implemented

This function retrieves a status with a specific id

uses \CustomerHandler::RetrieveList()

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$StatusID

int

the specific statusid to retrieve.

Returns

array

ProjectStatusRetrieveList

StatusRetrieveList(int $CompanyID, array $StatusIDs) : array
StaticNot Implemented

This function retrieves a list of status ids

uses \CustomerHandler::RetrieveList()

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$StatusIDs

array

list of Customer ID's to retrieve.

Returns

array

ProjectStatusSearch

StatusSearch(int $CompanyID, string $Search = "%") : array
StaticNot Implemented

This function retrieve's a list of status' that match a specific search term

uses \ProjectHandler::RetrieveList()

Parameters

$CompanyID

int

the Company ID. In single company builds, this is 0.

$Search = "%"

string

The search text for the status. Can use % for wildcards.

Returns

array

ProjectTagsRetrieveList

TagsRetrieveList(int $CompanyID, array $TagIDs) : array
Static

This function retrieves a list of Tag IDs

Parameters

$CompanyID

int

The Company ID. In single company builds, this is 0.

$TagIDs

array

The list of TagIDs to retrieve.

Returns

array

ProjectTagsSearch

TagsSearch(mixed $CompanyID, string $Search = '%') : array
Static

This function searchs for Tags

uses \ProjectHandler::RetrieveList()

Parameters

$CompanyID

mixed

the Company IDs. Can be a single Company ID or an array of Company IDs. In single company builds, this is 0.

$Search = '%'

string

The search term to try and find.

Returns

array