EformsHandler
author | Lisa Tassone |
---|---|
version | 2014-10-29 Custom incoming API handler for Eforms Form submissions To handle a single form submission Process: Eforms to send through one form at a time. Enterprise to save that form to the database to process later via cron. Cron to trigger (getEformsToProcess.php) on enterprise to read database table and then process those forms. Will respond to eForms platform with success or fail. |
Receive(array $eformData) : array
This function receives form details from the eForms platform for forms that require integration
array
the payload.
array
RetrieveCustomFields() : array
This function retrieves all custom fields to a specific company id
array
RetrieveJob(mixed $ProjectNo) : array
This function retrieves a quote with a specific number
mixed
The quote Number to retrieve
array
RetrieveProject(mixed $Quote, int $ProjectNo) : array
This function retrieves a quote with a specific number
uses | \QuoteHandler::RetrieveList() |
---|
mixed
whether the project is a quote or a job. 1 = quote, 0 = job.
int
The quote Number to retrieve
array
RetrieveQuote(mixed $ProjectNo) : array
This function retrieves a quote with a specific number
mixed
The quote Number to retrieve
array
ShowQueue(int $eformCompanyId) : array
This function receives forms awaiting processing
int
array