package Modules\Client
inherited_from \ClientContactFactory

 Methods

AddCompany()

AddCompany($product_edition_id = 15
Inherited

Parameters

$product_edition_id

CommitTransaction()

CommitTransaction() 
Inherited

Delete()

Delete() 
Inherited

ExecuteSQL()

ExecuteSQL($query, $ph = NULL, $limit = NULL, $page = NULL
Inherited

Parameters

$query

$ph

$limit

$page

FailTransaction()

FailTransaction() 
Inherited

RetryExecuteSQL()

RetryExecuteSQL($query, $ph = NULL, $retry_max_attempts = 2, $sleep = 5
Inherited

Parameters

$query

$ph

$retry_max_attempts

$sleep

Save()

Save($reset_data = TRUE, $force_lookup = FALSE
Inherited

Parameters

$reset_data

$force_lookup

StartTransaction()

StartTransaction() 
Inherited

Validate()

Validate($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

__construct()

__construct() 
Inherited

__toString()

__toString() 
Inherited

addLog()

addLog($log_action) 
Inherited

Parameters

$log_action

bulkDelete()

bulkDelete($ids) 
Inherited

Parameters

$ids

checkPassword()

checkPassword($password) 
Inherited

Parameters

$password

checkPasswordResetKey()

checkPasswordResetKey($key) 
Inherited

Parameters

$key

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

encryptPassword()

encryptPassword($password) 
Inherited

Parameters

$password

encryptPasswordResetKey()

encryptPasswordResetKey($key) 
Inherited

Parameters

$key

fromBool()

fromBool($value) 
Inherited

Parameters

$value

getAMFMessageID()

getAMFMessageID() 
Inherited

getAPISearchByCompanyIdAndArrayCriteria()

getAPISearchByCompanyIdAndArrayCriteria($company_id, $filter_data, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$company_id

$filter_data

$limit

$page

$where

$order

getAddress1()

getAddress1() 
Inherited

getAddress2()

getAddress2() 
Inherited

getAddress3()

getAddress3() 
Inherited

getAll()

getAll($limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$limit

$page

$where

$order

getAllArray()

getAllArray() 

getByClientIdAndCompanyId()

getByClientIdAndCompanyId($client_id, $company_id, $where = NULL, $order = NULL

Parameters

$client_id

$company_id

$where

$order

getByClientIdAndCompanyIdArray()

getByClientIdAndCompanyIdArray($client_id, $company_id, $include_blank = TRUE
Static

Parameters

$client_id

$company_id

$include_blank

getByCompanyId()

getByCompanyId($company_id, $where = NULL, $order = NULL

Parameters

$company_id

$where

$order

getByCompanyIdAndClientIdAndId()

getByCompanyIdAndClientIdAndId($company_id, $client_id, $id, $where = NULL, $order = NULL

Parameters

$company_id

$client_id

$id

$where

$order

getByCompanyIdAndLongitudeAndLatitude()

getByCompanyIdAndLongitudeAndLatitude($company_id, $longitude, $latitude, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$company_id

$longitude

$latitude

$limit

$page

$where

$order

getByCompanyIdAndUserName()

getByCompanyIdAndUserName($company_id, $user_name, $where = NULL, $order = NULL

Parameters

$company_id

$user_name

$where

$order

getById()

getById($id, $where = NULL, $order = NULL

Parameters

$id

$where

$order

getByIdAndClientId()

getByIdAndClientId($id, $client_id, $where = NULL, $order = NULL

Parameters

$id

$client_id

$where

$order

getByIdAndCompanyId()

getByIdAndCompanyId($id, $company_id, $where = NULL, $order = NULL

Parameters

$id

$company_id

$where

$order

getByPasswordResetKey()

getByPasswordResetKey($key) 

Parameters

$key

getByTypeIdAndDefaultAndClientIdAndCompanyId()

getByTypeIdAndDefaultAndClientIdAndCompanyId($type_id, $default, $client_id, $company_id, $where = NULL, $order = NULL

Parameters

$type_id

$default

$client_id

$company_id

$where

$order

getByUserName()

getByUserName($user_name, $where = NULL, $order = NULL

Parameters

$user_name

$where

$order

getCache()

getCache($cache_id, $group_id = NULL
Inherited

Parameters

$cache_id

$group_id

getCallerFunction()

getCallerFunction() 
Inherited

getCity()

getCity() 
Inherited

getClient()

getClient() 
Inherited

getClientObject()

getClientObject() 
Inherited

getColumn()

getColumn($column) 
Inherited

Parameters

$column

getColumnList()

getColumnList() 
Inherited

getCompanyGenericMapData()

getCompanyGenericMapData($company_id, $object_type_id, $id, $variable) 
Inherited

Parameters

$company_id

$object_type_id

$id

$variable

getCountry()

getCountry() 
Inherited

getCreatedAndUpdatedColumns()

getCreatedAndUpdatedColumns($data, $include_columns = NULL
Inherited

Parameters

$data

$include_columns

getCreatedBy()

getCreatedBy() 
Inherited

getCreatedDate()

getCreatedDate() 
Inherited

getCurrency()

getCurrency() 
Inherited

getCurrent()

getCurrent() 
Inherited

getCurrentRow()

getCurrentRow($offset = 1
Inherited

Parameters

$offset

getDateRangeSQL()

getDateRangeSQL($str, $column, $format = 'epoch', $include_blank_dates = FALSE
Inherited

Parameters

$str

$column

$format

$include_blank_dates

getDefault()

getDefault() 
Inherited

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getEmail()

getEmail() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableClearPasswordResetData()

getEnableClearPasswordResetData() 
Inherited

getEnableMinimumDataValidation()

getEnableMinimumDataValidation() 
Inherited

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getExcludeTaxPolicy()

getExcludeTaxPolicy() 
Inherited

getFaxPhone()

getFaxPhone() 
Inherited

getFirstName()

getFirstName() 
Inherited

getFirstNameMetaphone()

getFirstNameMetaphone() 
Inherited

getFullName()

getFullName($reverse = FALSE
Inherited

Parameters

$reverse

getGenericObject()

getGenericObject($list_factory, $id, $variable, $list_factory_method = 'getById', $id_method = 'getID'
Inherited

Parameters

$list_factory

$id

$variable

$list_factory_method

$id_method

getIDSByListFactory()

getIDSByListFactory($lf) 
Inherited

Parameters

$lf

getId()

getId() 
Inherited

getIncludeTaxPolicy()

getIncludeTaxPolicy() 
Inherited

getInvoiceDistrict()

getInvoiceDistrict() 
Inherited

getIterator()

getIterator() 
Inherited

getLabelId()

getLabelId() 
Inherited

getLastName()

getLastName() 
Inherited

getLastNameMetaphone()

getLastNameMetaphone() 
Inherited

getLatitude()

getLatitude() 
Inherited

getLongitude()

getLongitude() 
Inherited

getMapURL()

getMapURL() 
Inherited

getMobilePhone()

getMobilePhone() 
Inherited

getNextInsertId()

getNextInsertId() 
Inherited

getNote()

getNote() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL
Inherited

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getOtherID1()

getOtherID1() 
Inherited

getOtherID2()

getOtherID2() 
Inherited

getOtherID3()

getOtherID3() 
Inherited

getOtherID4()

getOtherID4() 
Inherited

getOtherID5()

getOtherID5() 
Inherited

getPassword()

getPassword() 
Inherited

getPasswordResetDate()

getPasswordResetDate() 
Inherited

getPasswordResetKey()

getPasswordResetKey() 
Inherited

getPasswordSalt()

getPasswordSalt() 
Inherited

getPermissionColumns()

getPermissionColumns($data, $object_user_id, $created_by_id, $permission_children_ids = NULL, $include_columns = NULL
Inherited

Parameters

$data

$object_user_id

$created_by_id

$permission_children_ids

$include_columns

getPostalCode()

getPostalCode() 
Inherited

getProgressBarObject()

getProgressBarObject() 
Inherited

getProvince()

getProvince() 
Inherited

getRecordCount()

getRecordCount() 
Inherited

getSequenceName()

getSequenceName() 
Inherited

getStatus()

getStatus() 
Inherited

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTag()

getTag() 
Inherited

getTransactionMode()

getTransactionMode() 
Inherited

getType()

getType() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUserName()

getUserName() 
Inherited

getValidSQLColumns()

getValidSQLColumns($array, $strict = TRUE, $additional_fields = NULL
Inherited

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

getWorkPhone()

getWorkPhone() 
Inherited

getWorkPhoneExt()

getWorkPhoneExt() 
Inherited

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isUniqueTypeDefault()

isUniqueTypeDefault($client_id, $type_id) 
Inherited

Parameters

$client_id

$type_id

isUniqueUserName()

isUniqueUserName($user_name) 
Inherited

Parameters

$user_name

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

postSave()

postSave($data_diff = NULL
Inherited

Parameters

$data_diff

preSave()

preSave() 
Inherited

removeCache()

removeCache($cache_id = NULL, $group_id = NULL
Inherited

Parameters

$cache_id

$group_id

saveCache()

saveCache($data, $cache_id, $group_id = NULL
Inherited

Parameters

$data

$cache_id

$group_id

sendPasswordResetEmail()

sendPasswordResetEmail() 
Inherited

serializeRS()

serializeRS($rs) 
Inherited

Parameters

$rs

setAMFMessageID()

setAMFMessageID($id) 
Inherited

Parameters

$id

setAddress1()

setAddress1($address1) 
Inherited

Parameters

$address1

setAddress2()

setAddress2($address2) 
Inherited

Parameters

$address2

setAddress3()

setAddress3($address3) 
Inherited

Parameters

$address3

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCity()

setCity($city) 
Inherited

Parameters

$city

setClient()

setClient($id) 
Inherited

Parameters

$id

setCountry()

setCountry($country) 
Inherited

Parameters

$country

setCreatedAndUpdatedColumns()

setCreatedAndUpdatedColumns($data, $variable_to_function_map = array()
Inherited

Parameters

$data

$variable_to_function_map

setCreatedBy()

setCreatedBy($id = NULL
Inherited

Parameters

$id

setCreatedDate()

setCreatedDate($epoch = NULL
Inherited

Parameters

$epoch

setCurrency()

setCurrency($id) 
Inherited

Parameters

$id

setDefault()

setDefault($bool) 
Inherited

Parameters

$bool

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setEmail()

setEmail($work_email) 
Inherited

Parameters

$work_email

setEnableClearPasswordResetData()

setEnableClearPasswordResetData($value = TRUE
Inherited

Parameters

$value

setEnableMinimumDataValidation()

setEnableMinimumDataValidation($bool) 
Inherited

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setExcludeTaxPolicy()

setExcludeTaxPolicy($ids) 
Inherited

Parameters

$ids

setFaxPhone()

setFaxPhone($fax_phone) 
Inherited

Parameters

$fax_phone

setFirstName()

setFirstName($first_name) 
Inherited

Parameters

$first_name

setFirstNameMetaphone()

setFirstNameMetaphone($first_name) 
Inherited

Parameters

$first_name

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setIncludeTaxPolicy()

setIncludeTaxPolicy($ids) 
Inherited

Parameters

$ids

setInvoiceDistrict()

setInvoiceDistrict($id) 
Inherited

Parameters

$id

setLastName()

setLastName($last_name) 
Inherited

Parameters

$last_name

setLastNameMetaphone()

setLastNameMetaphone($last_name) 
Inherited

Parameters

$last_name

setLatitude()

setLatitude($value) 
Inherited

Parameters

$value

setLongitude()

setLongitude($value) 
Inherited

Parameters

$value

setMobilePhone()

setMobilePhone($mobile_phone) 
Inherited

Parameters

$mobile_phone

setNote()

setNote($val) 
Inherited

Parameters

$val

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setOtherID1()

setOtherID1($value) 
Inherited

Parameters

$value

setOtherID2()

setOtherID2($value) 
Inherited

Parameters

$value

setOtherID3()

setOtherID3($value) 
Inherited

Parameters

$value

setOtherID4()

setOtherID4($value) 
Inherited

Parameters

$value

setOtherID5()

setOtherID5($value) 
Inherited

Parameters

$value

setPassword()

setPassword($password, $password_confirm = NULL
Inherited

Parameters

$password

$password_confirm

setPasswordResetDate()

setPasswordResetDate($epoch) 
Inherited

Parameters

$epoch

setPasswordResetKey()

setPasswordResetKey($value) 
Inherited

Parameters

$value

setPostalCode()

setPostalCode($postal_code) 
Inherited

Parameters

$postal_code

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setProvince()

setProvince($province) 
Inherited

Parameters

$province

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setStatus()

setStatus($status) 
Inherited

Parameters

$status

setTag()

setTag($tags) 
Inherited

Parameters

$tags

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setType()

setType($type) 
Inherited

Parameters

$type

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setUserName()

setUserName($user_name) 
Inherited

Parameters

$user_name

setWorkPhone()

setWorkPhone($work_phone) 
Inherited

Parameters

$work_phone

setWorkPhoneExt()

setWorkPhoneExt($work_phone_ext) 
Inherited

Parameters

$work_phone_ext

toBool()

toBool($value) 
Inherited

Parameters

$value

unserializeRS()

unserializeRS($rs) 
Inherited

Parameters

$rs

_getFactoryOptions()

_getFactoryOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

_getVariableToFunctionMap()

_getVariableToFunctionMap($data) 
Inherited

Parameters

$data

castInteger()

castInteger($int, $type = 'int'
Inherited

Parameters

$int

$type

getColumnsFromAliases()

getColumnsFromAliases($columns, $aliases) 
Inherited

Parameters

$columns

$aliases

getDatabaseType()

getDatabaseType() 
Inherited

getGEOMAsTextFunction()

getGEOMAsTextFunction($sql) 
Inherited

Parameters

$sql

getListSQL()

getListSQL($array, $ph = NULL, $cast = FALSE
Inherited

Parameters

$array

$ph

$cast

getSQLStringAggregate()

getSQLStringAggregate($sql, $glue) 
Inherited

Parameters

$sql

$glue

getSQLToEpochFunction()

getSQLToEpochFunction($sql) 
Inherited

Parameters

$sql

getSQLToTimeFunction()

getSQLToTimeFunction($sql) 
Inherited

Parameters

$sql

getSQLToTimeStampFunction()

getSQLToTimeStampFunction() 
Inherited

getSortSQL()

getSortSQL($array, $strict = TRUE, $additional_fields = NULL
Inherited

Parameters

$array

$strict

$additional_fields

getWhereClauseSQL()

getWhereClauseSQL($columns, $args, $type, $ph, $query_stub = NULL, $and = TRUE
Inherited

Parameters

$columns

$args

$type

$ph

$query_stub

$and

getWhereSQL()

getWhereSQL($array, $append_where = FALSE
Inherited

Parameters

$array

$append_where

handleSQLSyntax()

handleSQLSyntax($arg) 
Inherited

Parameters

$arg

stripSQLSyntax()

stripSQLSyntax($arg) 
Inherited

Parameters

$arg

getInsertQuery()

getInsertQuery() 
Inherited

getRecordSetColumnList()

getRecordSetColumnList($rs) 
Inherited

Parameters

$rs

getUpdateQuery()

getUpdateQuery() 
Inherited

parseColumnName()

parseColumnName($column) 
Inherited

Parameters

$column

 Properties

 

$data

$data 

Default

array()
 

$old_data

$old_data 

Default

array()
 

$username_validator_regex

$username_validator_regex 

Default

'/^[a-z0-9-_\.@\+]{1,250}$/i'
 

$validate_only

$validate_only 

Default

FALSE
 

$AMF_message_id

$AMF_message_id 

Default

NULL
 

$address_validator_regex

$address_validator_regex 

Default

'/^[a-zA-Z0-9-,_\/\.\'#\ |\x{0080}-\x{FFFF}]{1,250}$/iu'
 

$city_validator_regex

$city_validator_regex 

Default

'/^[a-zA-Z0-9-,_\.\'#\ |\x{0080}-\x{FFFF}]{1,250}$/iu'
 

$client_obj

$client_obj 

Default

NULL
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$name_validator_regex

$name_validator_regex 

Default

'/^[a-zA-Z- \.\'|\x{0080}-\x{FFFF}]{1,250}$/iu'
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'client_contact_id_seq'
 

$pobox_validator_regex

$pobox_validator_regex 

Default

'/^[P|p]*(OST|ost)*\.*\s*[O|o|0]*(ffice|FFICE)*\.*\s*[B|b][O|o|0][X|x]\s*(\d.)*/i'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'client_contact'