File "Scheduler.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/fluentform/app/Models/Scheduler.php
File size: 703 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace FluentForm\App\Models;
class Scheduler extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'ff_scheduled_actions';
/**
* A formMeta is owned by a form.
*
* @return \FluentForm\Framework\Database\Orm\Relations\BelongsTo
*/
public function form()
{
return $this->belongsTo(Form::class, 'form_id', 'id');
}
/**
* A schedule action is owned by a submission.
*
* @return \FluentForm\Framework\Database\Orm\Relations\BelongsTo
*/
public function submission()
{
return $this->belongsTo(Submission::class, 'origin_id', 'id');
}
}