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

Properties

$updated_date  : string
Date of last modification
$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

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

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