Gets all the groups that are associated with a given entry, or if no entry is specified then returns all the groups that are associated with entries in the form.
$entry_id - Optional. An entry id number.
Returns an array of distinct group ids. Returns false if the query failed.
// Get all the groups associated with entry 44 in form 6
$form_id = 6;
$dataHandler = new formulizeDataHandler($form_id);
$group_ids = $dataHandler->getEntryOwnerGroups(44);
// Get all the groups associated with any entry in form 6
$form_id = 6;
$dataHandler = new formulizeDataHandler($form_id);
$group_ids = $dataHandler->getEntryOwnerGroups();