Mautic
Estimated reading: 1 minute
/**
* Function to retrieve all Mautic forms. When $id is passed, only one form is returned
*
* @param $id int Id of a Mautic form
* @return array $forms Returns an array of Mautic forms
*/
public function getForms($id = ''){}PHP
/**
* @param $form_id int Id of the Mautic form
* @param $data array Array of the data to post to the form
*/
public function postFormEntry($form_id, $data){}PHP
/**
* @param int $mautic_form_id The Mautic form ID
* @param array $where Array of conditions
* @param array $updates Array of fields to update
*/
function updateEntry($mautic_form_id, $where, $updates){}PHP