MarketingCampaignType
in package
MarketingCampaignType class
Tags
Table of Contents
- $channel : MarketingChannelInterface
- The marketing channel that this campaign type belongs to.
- $create_url : string
- The URL to the create campaign page.
- $description : string
- Description of the marketing campaign type.
- $icon_url : string
- The URL to an image/icon for the campaign type.
- $id : string
- The unique identifier.
- $name : string
- Name of the marketing campaign type.
- __construct() : mixed
- MarketingCampaignType constructor.
- get_channel() : MarketingChannelInterface
- Returns the marketing channel that this campaign type belongs to.
- get_create_url() : string
- Returns the URL to the create campaign page.
- get_description() : string
- Returns the description of the marketing campaign type.
- get_icon_url() : string
- Returns the URL to an image/icon for the campaign type.
- get_id() : string
- Returns the marketing campaign's unique identifier.
- get_name() : string
- Returns the name of the marketing campaign type.
Properties
$channel
The marketing channel that this campaign type belongs to.
protected
MarketingChannelInterface
$channel
$create_url
The URL to the create campaign page.
protected
string
$create_url
$description
Description of the marketing campaign type.
protected
string
$description
$icon_url
The URL to an image/icon for the campaign type.
protected
string
$icon_url
$id
The unique identifier.
protected
string
$id
$name
Name of the marketing campaign type.
protected
string
$name
Methods
__construct()
MarketingCampaignType constructor.
public
__construct(string $id, MarketingChannelInterface $channel, string $name, string $description, string $create_url, string $icon_url) : mixed
Parameters
- $id : string
-
A unique identifier for the campaign type.
- $channel : MarketingChannelInterface
-
The marketing channel that this campaign type belongs to.
- $name : string
-
Name of the marketing campaign type.
- $description : string
-
Description of the marketing campaign type.
- $create_url : string
-
The URL to the create campaign page.
- $icon_url : string
-
The URL to an image/icon for the campaign type.
Return values
mixed —get_channel()
Returns the marketing channel that this campaign type belongs to.
public
get_channel() : MarketingChannelInterface
Return values
MarketingChannelInterface —get_create_url()
Returns the URL to the create campaign page.
public
get_create_url() : string
Return values
string —get_description()
Returns the description of the marketing campaign type.
public
get_description() : string
Return values
string —get_icon_url()
Returns the URL to an image/icon for the campaign type.
public
get_icon_url() : string
Return values
string —get_id()
Returns the marketing campaign's unique identifier.
public
get_id() : string
Return values
string —get_name()
Returns the name of the marketing campaign type.
public
get_name() : string