Formulize

Integrate your data, automate your workflows, elevate your game

Version 7.3 out now!How to installHow to update

Download .zip View on GitHub Join us on Slack Follow on Twitter

Data Handler

Methods

deleteEntries

elementHasValueInEntry

entryExists

findAllEntriesForUsers

findAllEntriesWithAllValues

findAllEntriesWithValue

findAllUsersForEntries

findAllValuesForField

findFirstEntryForGroups

findFirstEntryForUsers

findFirstEntryWithAllValues

findFirstEntryWithValue

findLastEntryWithValue

getElementValueInEntry

getEntryMeta

getEntryOwnerGroups

setEntryOwnerGroups

writeEntry

Description

This class provides low level methods for interacting directly with the records in the database that have been entered through a given form. Each handler object is associated with a specific form, as declared when the constructor is called.

Location

/modules/formulize/class/data.php

Inclusion

This file is normally included as part of any Formulize page load. If it is not available, use include_once XOOPS_ROOT_PATH.'/modules/formulize/class/data.php'; to include it.

A data handler object can be created using the new keyword in PHP and by passing a form id number to the constructor.

Example

$form_id = 6;
$dataHandler = new formulizeDataHandler($form_id);