Documentation

CrmContact
in package

crmContact Class CRM

Tags
category

CrmContact

subpackage

module_crm

author

SoftSolutions4U Development Team info@softsolutions4u.com

copyright

2012 and CLOUDREXX CMS - CLOUDREXX AG

license

trial license

link
www.cloudrexx.com

Table of Contents

Constants

TYPE_COMPANY  = 1
TYPE_PERSON  = 2

Properties

$account_id  : mixed
$added_date  : mixed
$addedUser  : mixed
$address  : mixed
$city  : mixed
$companySize  : mixed
$contact_amount  : mixed
$contact_customer  : int
$contact_gender  : mixed
$contact_language  : mixed
$contact_role  : mixed
$contact_title  : mixed
$contactType  : int
$country  : mixed
$currency  : mixed
$customerId  : mixed
$customerName  : mixed
$customerType  : mixed
$datasource  : mixed
$email  : mixed
$family_name  : mixed
$id  : mixed
$industryType  : mixed
$linkedCompany  : string
$notes  : mixed
$phone  : mixed
$profile_picture  : mixed
$salutation  : mixed
$state  : mixed
$updated_date  : string
Date of last modification
$url  : mixed
$user_name  : mixed
$zip  : mixed
$moduleName  : string
Module Name

Methods

__get()  : string
Get the variable value
__set()  : null
Set the variable if new
clean()  : null
Reset the variable
delete()  : bool
Delete the CRM Person/Company
getCustomerDetails()  : array<string|int, mixed>
Get customer Details
load()  : bool
Load the record
save()  : bool
Save a record
updatePrimaryAddress()  : mixed
updatePrimaryEmail()  : mixed
Update the primary email address of the crm contact
updatePrimaryPhone()  : mixed

Constants

Properties

$updated_date

Date of last modification

public string $updated_date = ''

$moduleName

Module Name

protected string $moduleName = "crm"
Tags
access

protected

Methods

__get()

Get the variable value

public __get(string $name) : string
Parameters
$name : string

variable name

Attributes
#[ReturnTypeWillChange]
Return values
string

__set()

Set the variable if new

public __set(string $name, string $value) : null
Parameters
$name : string

variable name

$value : string

variable value

Return values
null

delete()

Delete the CRM Person/Company

public delete([int $id = 0 ]) : bool
Parameters
$id : int = 0
Tags
global

object $objDatabase

Return values
bool

getCustomerDetails()

Get customer Details

public getCustomerDetails() : array<string|int, mixed>
Return values
array<string|int, mixed>

load()

Load the record

public load([int $id = null ]) : bool
Parameters
$id : int = null

record id

Tags
global

ADO Connection $objDatabase

Return values
bool

save()

Save a record

public save() : bool
Tags
global

ADO Connection $objDatabase

Return values
bool

updatePrimaryEmail()

Update the primary email address of the crm contact

public updatePrimaryEmail([mixed $defaultEmailType = 0 ]) : mixed
Parameters
$defaultEmailType : mixed = 0

        
On this page

Search results