PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.14
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.14
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Models / EntryDetails.php

EntryDetails.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.14, at app/Models/EntryDetails.php

41 lines 843 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentForm\App\Models;
4
5 class EntryDetails extends Model
6 {
7 /**
8 * The table associated with the model.
9 *
10 * @var string
11 */
12 protected $table = 'fluentform_entry_details';
13
14 /**
15 * Indicates if the model should be timestamped.
16 *
17 * @var bool
18 */
19 public $timestamps = false;
20
21 /**
22 * A formMeta is owned by a form.
23 *
24 * @return \FluentForm\Framework\Database\Orm\Relations\BelongsTo
25 */
26 public function form()
27 {
28 return $this->belongsTo(Form::class, 'form_id', 'id');
29 }
30
31 /**
32 * A submission detail is owned by a submission.
33 *
34 * @return \FluentForm\Framework\Database\Orm\Relations\BelongsTo
35 */
36 public function submission()
37 {
38 return $this->belongsTo(Submission::class, 'submission_id', 'id' );
39 }
40 }
41