Skip to content
View as Markdown

FunnelSequence Model

DB Table Name{wp_db_prefix}_fc_funnel_sequences
SchemaCheck Schema
Source Filefluent-crm/app/Models/FunnelSequence.php
Name SpaceFluentCrm\App\Models
ClassFluentCrm\App\Models\FunnelSequence

Attributes

AttributeData TypeComment
idInteger
funnel_idInteger
parent_idInteger
action_name String
condition_type String
type String
titleString
description String
statusString
conditionsString
settingsArray
noteInteger
delayInteger
c_delay Integer
sequence Integer
created_byInteger
created_atDate Time
updated_atDate Time

Usage

Please check Model Basic for Common methods.

Accessing Attributes

php

$funnelSequence = FluentCrm\App\Models\FunnelSequence::find(1);

$funnelSequence->id; // returns id
$funnelSequence->status; // returns status
.......

Fillable Attributes

php
'funnel_id',
'action_name',
'parent_id',
'condition_type',
'title',
'description',
'status', // draft | : Default: draft
'conditions',
'settings',
'delay',
'c_delay',
'sequence',
'created_by',
'type', // sequence | ; Default: sequence
'note',

Relations

This model has the following relationship that you can use

funnel

Get all the actions of Funnel Sequence related to this funnel

  • returns FluentCrm\App\Models\Funnel Model

Example:

php
// Accessing the relationship
$funnel = $funnelSequence->funnel;