Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/fluentform/app/Models/Log.php

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + <?php
2 +
3 + namespace FluentForm\App\Models;
4 +
5 + class Log extends Model
6 + {
7 + /**
8 + * The table associated with the model.
9 + *
10 + * @var string
11 + */
12 + protected $table = 'fluentform_logs';
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, 'parent_source_id', 'id');
29 + }
30 + }
31 +