package Modules\Job
inherited_from \Factory

 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

Parameters

$ignore_warning

__construct()

__construct() 
Inherited

__toString()

__toString() 
Inherited

_getFactoryOptions()

_getFactoryOptions($name, $parent = NULL
inherited_from \Factory::_getFactoryOptions()

Parameters

$name

$parent

_getVariableToFunctionMap()

_getVariableToFunctionMap($data) 
inherited_from \Factory::_getVariableToFunctionMap()

Parameters

$data

addLog()

addLog($log_action) 

Parameters

$log_action

bulkDelete()

bulkDelete($ids) 
Inherited

Parameters

$ids

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

createTransactions()

createTransactions($effective_date = NULL, $start_date = NULL, $end_date = NULL, $flags = array()

Parameters

$effective_date

$start_date

$end_date

$flags

fromBool()

fromBool($value) 
Inherited

Parameters

$value

getAMFMessageID()

getAMFMessageID() 
Inherited

getAddress1()

getAddress1() 

getAddress2()

getAddress2() 

getBadQuantityRate()

getBadQuantityRate() 

getBillableRate()

getBillableRate() 

getBranch()

getBranch() 

getCache()

getCache($cache_id, $group_id = NULL
Inherited

Parameters

$cache_id

$group_id

getCallerFunction()

getCallerFunction() 
Inherited

getCity()

getCity() 

getClient()

getClient() 

getClientObject()

getClientObject() 

getColumn()

getColumn($column) 
Inherited

Parameters

$column

getColumnList()

getColumnList() 
Inherited

getCompany()

getCompany() 

getCompanyGenericMapData()

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

Parameters

$company_id

$object_type_id

$id

$variable

getCompanyObject()

getCompanyObject() 

getCountry()

getCountry() 

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

getDateRangeSQL()

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

Parameters

$str

$column

$format

$include_blank_dates

getDefaultItem()

getDefaultItem() 

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDepartment()

getDepartment() 

getDescription()

getDescription() 

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getEnableValidateDefaultItem()

getEnableValidateDefaultItem() 

getEndDate()

getEndDate() 

getEstimateBadQuantity()

getEstimateBadQuantity() 

getEstimateQuantity()

getEstimateQuantity() 

getEstimateTime()

getEstimateTime() 

getExcludeJobItem()

getExcludeJobItem() 

getExcludeUser()

getExcludeUser() 

getGEOFenceIds()

getGEOFenceIds() 

getGenericObject()

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

Parameters

$list_factory

$id

$variable

$list_factory_method

$id_method

getGroup()

getGroup() 

getIButtonID()

getIButtonID() 

getIDSByListFactory()

getIDSByListFactory($lf) 
Inherited

Parameters

$lf

getId()

getId() 
Inherited

getIncludeJobItem()

getIncludeJobItem() 

getIncludeUser()

getIncludeUser() 

getIterator()

getIterator() 
Inherited

getJobItemGroup()

getJobItemGroup() 

getJobItemGroupSelectionType()

getJobItemGroupSelectionType() 

getLabelId()

getLabelId() 
Inherited

getLatitude()

getLatitude() 

getLocationNote()

getLocationNote() 

getLongitude()

getLongitude() 

getManualID()

getManualID() 

getMinimumTime()

getMinimumTime() 

getName()

getName() 

getNameMetaphone()

getNameMetaphone() 

getNextAvailableManualId()

getNextAvailableManualId($company_id = NULL
Static

Parameters

$company_id

getNextInsertId()

getNextInsertId() 
Inherited

getNote()

getNote() 

getObjectAsArray()

getObjectAsArray($include_columns = NULL

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getOtherID1()

getOtherID1() 

getOtherID2()

getOtherID2() 

getOtherID3()

getOtherID3() 

getOtherID4()

getOtherID4() 

getOtherID5()

getOtherID5() 

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

getProgressBarObject()

getProgressBarObject() 
Inherited

getProvince()

getProvince() 

getRecordCount()

getRecordCount() 
Inherited

getSchedulePercent()

getSchedulePercent($epoch = FALSE

Parameters

$epoch

getSequenceName()

getSequenceName() 
Inherited

getSerialPattern()

getSerialPattern() 

getStartDate()

getStartDate() 

getStatus()

getStatus() 

getSupervisor()

getSupervisor() 

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTag()

getTag() 

getTransactionMode()

getTransactionMode() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUserBranch()

getUserBranch() 

getUserBranchSelectionType()

getUserBranchSelectionType() 

getUserDepartment()

getUserDepartment() 

getUserDepartmentSelectionType()

getUserDepartmentSelectionType() 

getUserGroup()

getUserGroup() 

getUserGroupSelectionType()

getUserGroupSelectionType() 

getValidSQLColumns()

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

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

isAllowedItem()

isAllowedItem($id) 

Parameters

$id

isAllowedUser()

isAllowedUser($id) 

Parameters

$id

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isUniqueManualID()

isUniqueManualID($id) 

Parameters

$id

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

postSave()

postSave($data_diff = NULL

Parameters

$data_diff

preSave()

preSave() 

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) 

Parameters

$address1

setAddress2()

setAddress2($address2) 

Parameters

$address2

setBadQuantityRate()

setBadQuantityRate($value) 

Parameters

$value

setBillableRate()

setBillableRate($value) 

Parameters

$value

setBranch()

setBranch($id) 

Parameters

$id

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCity()

setCity($city) 

Parameters

$city

setClient()

setClient($id) 

Parameters

$id

setCompany()

setCompany($id) 

Parameters

$id

setCountry()

setCountry($country) 

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

setDefaultItem()

setDefaultItem($id) 

Parameters

$id

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setDepartment()

setDepartment($id) 

Parameters

$id

setDescription()

setDescription($description) 

Parameters

$description

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setEnableValidateDefaultItem()

setEnableValidateDefaultItem($bool) 

Parameters

$bool

setEndDate()

setEndDate($epoch) 

Parameters

$epoch

setEstimateBadQuantity()

setEstimateBadQuantity($value) 

Parameters

$value

setEstimateQuantity()

setEstimateQuantity($value) 

Parameters

$value

setEstimateTime()

setEstimateTime($value) 

Parameters

$value

setExcludeJobItem()

setExcludeJobItem($ids) 

Parameters

$ids

setExcludeUser()

setExcludeUser($ids) 

Parameters

$ids

setGEOFenceIds()

setGEOFenceIds($ids) 

Parameters

$ids

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setGroup()

setGroup($id) 

Parameters

$id

setIButtonID()

setIButtonID($value) 

Parameters

$value

setId()

setId($id) 
Inherited

Parameters

$id

setIncludeJobItem()

setIncludeJobItem($ids) 

Parameters

$ids

setIncludeUser()

setIncludeUser($ids) 

Parameters

$ids

setJobItemGroup()

setJobItemGroup($ids) 

Parameters

$ids

setJobItemGroupSelectionType()

setJobItemGroupSelectionType($value) 

Parameters

$value

setLatitude()

setLatitude($value) 

Parameters

$value

setLocationNote()

setLocationNote($value) 

Parameters

$value

setLongitude()

setLongitude($value) 

Parameters

$value

setManualID()

setManualID($value) 

Parameters

$value

setMinimumTime()

setMinimumTime($value) 

Parameters

$value

setName()

setName($value) 

Parameters

$value

setNameMetaphone()

setNameMetaphone($value) 

Parameters

$value

setNote()

setNote($value) 

Parameters

$value

setObjectFromArray()

setObjectFromArray($data) 

Parameters

$data

setOtherID1()

setOtherID1($value) 

Parameters

$value

setOtherID2()

setOtherID2($value) 

Parameters

$value

setOtherID3()

setOtherID3($value) 

Parameters

$value

setOtherID4()

setOtherID4($value) 

Parameters

$value

setOtherID5()

setOtherID5($value) 

Parameters

$value

setPostalCode()

setPostalCode($postal_code) 

Parameters

$postal_code

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setProvince()

setProvince($province) 

Parameters

$province

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setSerialPattern()

setSerialPattern($value) 

Parameters

$value

setStartDate()

setStartDate($epoch) 

Parameters

$epoch

setStatus()

setStatus($status) 

Parameters

$status

setSupervisor()

setSupervisor($id) 

Parameters

$id

setTag()

setTag($tags) 

Parameters

$tags

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setUserBranch()

setUserBranch($ids) 

Parameters

$ids

setUserBranchSelectionType()

setUserBranchSelectionType($value) 

Parameters

$value

setUserDepartment()

setUserDepartment($ids) 

Parameters

$ids

setUserDepartmentSelectionType()

setUserDepartmentSelectionType($value) 

Parameters

$value

setUserGroup()

setUserGroup($ids) 

Parameters

$ids

setUserGroupSelectionType()

setUserGroupSelectionType($value) 

Parameters

$value

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

$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
 

$company_obj

$company_obj 

Default

NULL
 

$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

'job_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'job'