# FunnelSequence Model
DB Table Name | {wp_db_prefix}_fc_funnel_sequences |
---|---|
Schema | Check Schema |
Source File | fluent-crm/app/Models/FunnelSequence.php |
Name Space | FluentCrm\App\Models |
Class | FluentCrm\App\Models\FunnelSequence |
# Attributes
Attribute | Data Type | Comment |
---|---|---|
id | Integer | |
funnel_id | Integer | |
parent_id | Integer | |
action_name | String | |
condition_type | String | |
type | String | |
title | String | |
description | String | |
status | String | |
conditions | String | |
settings | Array | |
note | Integer | |
delay | Integer | |
c_delay | Integer | |
sequence | Integer | |
created_by | Integer | |
created_at | Date Time | |
updated_at | Date Time |
# Usage
Please check Model Basic for Common methods.
# Accessing Attributes
$funnelSequence = FluentCrm\App\Models\FunnelSequence::find(1);
$funnelSequence->id; // returns id
$funnelSequence->status; // returns status
.......
1
2
3
4
5
6
2
3
4
5
6
# Fillable Attributes
'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',
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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:
// Accessing the relationship
$funnel = $funnelSequence->funnel;
1
2
2