Documentation

Lead_Controller
in package

Lead_Controller.

Tags
subpackage

Lead

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

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
Return values
object|null

        
On this page

Search results