Function Name:getAll
Declaration:
public static function getAll( $where, $order_by = '', $limit = '', $meta = false, $inc_form = true )
Basic usage:
$entries = FrmEntry::getAll( array('fi.form_id' => 5), 'fi.created_at DESC', 8 );
In class:
Location:
formidable/classes/models/FrmEntry.php
Pro function:
No
Notes:
getAll modifies the SQL query Formidable uses to extract form entry data via $wpdb.
$where: sets the where clause
$order_by: sets the order by clause
$limit: sets the limit of records returned by the query
$meta: if set to true, returns the entry's metadata.
$inc_form: if set to true, returns the associated form's name and key
Contribute Comments or Examples
No Entries Found