# Entry Model

Model Auto-extracted

# Class

  • Class: FluentForm\App\Models\Entry
  • Extends: Model
  • Source: app/Models/Entry.php
  • Table: {$wpdb->prefix}fluentform_submissions (raw: fluentform_submissions)
  • Primary key: id

# Relationships

  • form()belongsToForm::class
  • entryMeta()hasManyEntryMeta::class
  • logs()hasManyLog::class
  • entryDetails()hasManyEntryDetails::class

# Public Methods

# paginateEntries($attributes = [])

# countByGroup($formId)

# amend($id, $data = [])

# remove($entryIds)

# Quick example

use FluentForm\App\Models\Entry;

// Query
$entry = Entry::find($id);
$entry_set = Entry::where('id', '>', 0)->limit(10)->get();
1
2
3
4
5