AbstractBaseCrmModel
extends Model
in package
Uses
HasFactory, LogsActivityAllDirty, Notifiable, PowerJoins, SoftDeletes, WithoutJobs
Table of Contents
- $activityLogName : string
- $jobsEnabled : bool
- This parameter specify if jobs should be launched or not
- getActivitylogOptions() : LogOptions
- Specifies which model properties should be logged in the activy log
- saveWithoutJobs() : mixed
- withoutJobs() : mixed
- Executes the callback disabling the jobs launching
Properties
$activityLogName
public
static string
$activityLogName
= "crud"
$jobsEnabled
This parameter specify if jobs should be launched or not
protected
bool
$jobsEnabled
= true
Methods
getActivitylogOptions()
Specifies which model properties should be logged in the activy log
public
getActivitylogOptions() : LogOptions
Return values
LogOptions —saveWithoutJobs()
public
saveWithoutJobs() : mixed
Return values
mixed —withoutJobs()
Executes the callback disabling the jobs launching
public
withoutJobs(callable $callback) : mixed
Parameters
- $callback : callable