package Modules\Company
inherited_from \CompanyFactory

 Methods

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

cleanStoragePath()

cleanStoragePath($company_id = NULL
Inherited

Parameters

$company_id

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

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

getAdminContact()

getAdminContact() 
Inherited

getAll()

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

Parameters

$limit

$page

$where

$order

getAllAndLastLoginDate()

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

Parameters

$limit

$page

$where

$order

getAllArray()

getAllArray() 
Static

getAllByInValidContacts()

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

Parameters

$limit

$page

$where

$order

getArrayByListFactory()

getArrayByListFactory($lf, $include_blank = TRUE, $include_disabled = TRUE

Parameters

$lf

$include_blank

$include_disabled

getBaseCurrencyObject()

getBaseCurrencyObject() 
Inherited

getBillingContact()

getBillingContact() 
Inherited

getBusinessNumber()

getBusinessNumber() 
Inherited

getByCompanyId()

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

Parameters

$company_id

$where

$order

getById()

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

Parameters

$id

$where

$order

getByIdAndCompanyId()

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

Parameters

$id

$company_id

$where

$order

getByPhoneID()

getByPhoneID($phone_id, $where = NULL, $order = NULL

Parameters

$phone_id

$where

$order

getByShortName()

getByShortName($short_name, $where = NULL, $order = NULL

Parameters

$short_name

$where

$order

getByStatusID()

getByStatusID($status_id, $where = NULL, $order = NULL

Parameters

$status_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

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

getCurrent()

getCurrent() 
Inherited

getCurrentRow()

getCurrentRow($offset = 1
Inherited

Parameters

$offset

getDataCenterID()

getDataCenterID() 
Inherited

getDateRangeSQL()

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

Parameters

$str

$column

$format

$include_blank_dates

getDefaultContact()

getDefaultContact() 
Inherited

getDefaultCurrency()

getDefaultCurrency() 
Inherited

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableAddCompanyDeductionPreset()

getEnableAddCompanyDeductionPreset() 
Inherited

getEnableAddCurrency()

getEnableAddCurrency() 
Inherited

getEnableAddPayStubEntryAccountPreset()

getEnableAddPayStubEntryAccountPreset() 
Inherited

getEnableAddPermissionGroupPreset()

getEnableAddPermissionGroupPreset() 
Inherited

getEnableAddRecurringHolidayPreset()

getEnableAddRecurringHolidayPreset() 
Inherited

getEnableAddStation()

getEnableAddStation() 
Inherited

getEnableAddUserDefaultPreset()

getEnableAddUserDefaultPreset() 
Inherited

getEnableSecondLastName()

getEnableSecondLastName() 
Inherited

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getEncoding()

getEncoding($company_id = FALSE
Inherited

Parameters

$company_id

getFaxPhone()

getFaxPhone() 
Inherited

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

getIndustry()

getIndustry() 
Inherited

getIterator()

getIterator() 
Inherited

getLDAPAuthenticationType()

getLDAPAuthenticationType() 
Inherited

getLDAPBaseDN()

getLDAPBaseDN() 
Inherited

getLDAPBindAttribute()

getLDAPBindAttribute() 
Inherited

getLDAPBindPassword()

getLDAPBindPassword() 
Inherited

getLDAPBindUserName()

getLDAPBindUserName() 
Inherited

getLDAPHost()

getLDAPHost() 
Inherited

getLDAPLoginAttribute()

getLDAPLoginAttribute() 
Inherited

getLDAPPort()

getLDAPPort() 
Inherited

getLDAPUserFilter()

getLDAPUserFilter() 
Inherited

getLabelId()

getLabelId() 
Inherited

getLatitude()

getLatitude() 
Inherited

getLogoFileName()

getLogoFileName($company_id = NULL, $include_default_logo = TRUE, $primary_company_logo = FALSE, $size = 'normal'
Inherited

Parameters

$company_id

$include_default_logo

$primary_company_logo

$size

getLongitude()

getLongitude() 
Inherited

getMigrateURL()

getMigrateURL() 
Inherited

getName()

getName() 
Inherited

getNameMetaphone()

getNameMetaphone() 
Inherited

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL
Inherited

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getOriginatorID()

getOriginatorID() 
Inherited

getOtherID1()

getOtherID1() 
Inherited

getOtherID2()

getOtherID2() 
Inherited

getOtherID3()

getOtherID3() 
Inherited

getOtherID4()

getOtherID4() 
Inherited

getOtherID5()

getOtherID5() 
Inherited

getParent()

getParent() 
Inherited

getPasswordMaximumAge()

getPasswordMaximumAge() 
Inherited

getPasswordMinimumAge()

getPasswordMinimumAge() 
Inherited

getPasswordMinimumLength()

getPasswordMinimumLength() 
Inherited

getPasswordMinimumPermissionLevel()

getPasswordMinimumPermissionLevel() 
Inherited

getPasswordMinimumStrength()

getPasswordMinimumStrength() 
Inherited

getPasswordPolicyType()

getPasswordPolicyType() 
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

getProductEdition()

getProductEdition() 
Inherited

getProgressBarObject()

getProgressBarObject() 
Inherited

getProvince()

getProvince() 
Inherited

getRecordCount()

getRecordCount() 
Inherited

getSequenceName()

getSequenceName() 
Inherited

getSetupComplete()

getSetupComplete() 
Inherited

getShortName()

getShortName() 
Inherited

getStatus()

getStatus() 
Inherited

getStoragePath()

getStoragePath($company_id = NULL
Inherited

Parameters

$company_id

getSupportContact()

getSupportContact() 
Inherited

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTotalCurrencies()

getTotalCurrencies() 
Inherited

getTransactionMode()

getTransactionMode() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUserDefaultObject()

getUserDefaultObject() 
Inherited

getUserObject()

getUserObject($user_id) 
Inherited

Parameters

$user_id

getValidSQLColumns()

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

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

getWorkPhone()

getWorkPhone() 
Inherited

isLogoExists()

isLogoExists() 
Inherited

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

postSave()

postSave($data_diff = NULL
Inherited

Parameters

$data_diff

preSave()

preSave() 
Inherited

remoteSave()

remoteSave() 
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

serializeRS()

serializeRS($rs) 
Inherited

Parameters

$rs

setAMFMessageID()

setAMFMessageID($id) 
Inherited

Parameters

$id

setAddress1()

setAddress1($address1) 
Inherited

Parameters

$address1

setAddress2()

setAddress2($address2) 
Inherited

Parameters

$address2

setAdminContact()

setAdminContact($id) 
Inherited

Parameters

$id

setBillingContact()

setBillingContact($id) 
Inherited

Parameters

$id

setBusinessNumber()

setBusinessNumber($val) 
Inherited

Parameters

$val

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCity()

setCity($city) 
Inherited

Parameters

$city

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

setDataCenterID()

setDataCenterID($val) 
Inherited

Parameters

$val

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setEnableAddCompanyDeductionPreset()

setEnableAddCompanyDeductionPreset($bool) 
Inherited

Parameters

$bool

setEnableAddCurrency()

setEnableAddCurrency($bool) 
Inherited

Parameters

$bool

setEnableAddPayStubEntryAccountPreset()

setEnableAddPayStubEntryAccountPreset($bool) 
Inherited

Parameters

$bool

setEnableAddPermissionGroupPreset()

setEnableAddPermissionGroupPreset($bool) 
Inherited

Parameters

$bool

setEnableAddRecurringHolidayPreset()

setEnableAddRecurringHolidayPreset($bool) 
Inherited

Parameters

$bool

setEnableAddStation()

setEnableAddStation($bool) 
Inherited

Parameters

$bool

setEnableAddUserDefaultPreset()

setEnableAddUserDefaultPreset($bool) 
Inherited

Parameters

$bool

setEnableSecondLastName()

setEnableSecondLastName($bool) 
Inherited

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setFaxPhone()

setFaxPhone($fax_phone) 
Inherited

Parameters

$fax_phone

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setIndustry()

setIndustry($value) 
Inherited

Parameters

$value

setLDAPAuthenticationType()

setLDAPAuthenticationType($type) 
Inherited

Parameters

$type

setLDAPBaseDN()

setLDAPBaseDN($value) 
Inherited

Parameters

$value

setLDAPBindAttribute()

setLDAPBindAttribute($value) 
Inherited

Parameters

$value

setLDAPBindPassword()

setLDAPBindPassword($value) 
Inherited

Parameters

$value

setLDAPBindUserName()

setLDAPBindUserName($value) 
Inherited

Parameters

$value

setLDAPHost()

setLDAPHost($value) 
Inherited

Parameters

$value

setLDAPLoginAttribute()

setLDAPLoginAttribute($value) 
Inherited

Parameters

$value

setLDAPPort()

setLDAPPort($value) 
Inherited

Parameters

$value

setLDAPUserFilter()

setLDAPUserFilter($value) 
Inherited

Parameters

$value

setLatitude()

setLatitude($value) 
Inherited

Parameters

$value

setLongitude()

setLongitude($value) 
Inherited

Parameters

$value

setMigrateURL()

setMigrateURL($value) 
Inherited

Parameters

$value

setName()

setName($name, $force = FALSE
Inherited

Parameters

$name

$force

setNameMetaphone()

setNameMetaphone($value) 
Inherited

Parameters

$value

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setOriginatorID()

setOriginatorID($val) 
Inherited

Parameters

$val

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

setParent()

setParent($id) 
Inherited

Parameters

$id

setPasswordMaximumAge()

setPasswordMaximumAge($value) 
Inherited

Parameters

$value

setPasswordMinimumAge()

setPasswordMinimumAge($value) 
Inherited

Parameters

$value

setPasswordMinimumLength()

setPasswordMinimumLength($type) 
Inherited

Parameters

$type

setPasswordMinimumPermissionLevel()

setPasswordMinimumPermissionLevel($type) 
Inherited

Parameters

$type

setPasswordMinimumStrength()

setPasswordMinimumStrength($type) 
Inherited

Parameters

$type

setPasswordPolicyType()

setPasswordPolicyType($type) 
Inherited

Parameters

$type

setPostalCode()

setPostalCode($postal_code) 
Inherited

Parameters

$postal_code

setProductEdition()

setProductEdition($val) 
Inherited

Parameters

$val

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setProvince()

setProvince($province) 
Inherited

Parameters

$province

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setSetupComplete()

setSetupComplete($bool) 
Inherited

Parameters

$bool

setShortName()

setShortName($name) 
Inherited

Parameters

$name

setStatus()

setStatus($status) 
Inherited

Parameters

$status

setSupportContact()

setSupportContact($id) 
Inherited

Parameters

$id

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setWorkPhone()

setWorkPhone($work_phone) 
Inherited

Parameters

$work_phone

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

 

$base_currency_obj

$base_currency_obj 

Default

NULL
 

$data

$data 

Default

array()
 

$old_data

$old_data 

Default

array()
 

$user_default_obj

$user_default_obj 

Default

NULL
 

$user_obj

$user_obj 

Default

NULL
 

$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'
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'company_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$short_name_validator_regex

$short_name_validator_regex 

Default

'/^[a-zA-Z0-9-]{1,15}$/iu'
 

$table

$table 

Default

'company'