Lead_Controller
in package
Lead_Controller.
Tags
Table of Contents
Properties
- $allowTags : string
- Backend property
Methods
- createLeadFromEmail() : self
- Create lead from email
- _findLead() : object|null
- Find lead
Properties
$allowTags
Backend property
public
static string
$allowTags
= '<html><head><body><style><a><b><strong><img><em><i><span><small><div><p><br><br/><br /><li><ol><ul><pre><table><tr><td><tbody><thead><h1><h2><h3><h4><h5><h6>'
Methods
createLeadFromEmail()
Create lead from email
public
static createLeadFromEmail(array<string|int, mixed> $aMessage[, int $crm_source_id = 0 ]) : self
Parameters
- $aMessage : array<string|int, mixed>
-
message
- $crm_source_id : int = 0
Return values
self_findLead()
Find lead
protected
static _findLead(string $email) : object|null
Parameters
- $email : string