package Core
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

calcAccumulatedTime()

calcAccumulatedTime($data, $include_daily_totals = TRUE
Static

Parameters

$data

$include_daily_totals

calcSystemTotalTime()

calcSystemTotalTime() 

calcTotalTime()

calcTotalTime() 

calcTotalTimeAmount()

calcTotalTimeAmount() 

calcTotalTimeAmountWithBurden()

calcTotalTimeAmountWithBurden() 

calcWeeklySystemTotalTime()

calcWeeklySystemTotalTime() 

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

getActualTotalTime()

getActualTotalTime() 

getBadQuantity()

getBadQuantity() 

getBaseHourlyRate()

getBaseHourlyRate() 

getBranch()

getBranch() 

getCache()

getCache($cache_id, $group_id = NULL
Inherited

Parameters

$cache_id

$group_id

getCallerFunction()

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

getCreatedAndUpdatedColumns()

getCreatedAndUpdatedColumns($data, $include_columns = NULL
Inherited

Parameters

$data

$include_columns

getCreatedBy()

getCreatedBy() 
Inherited

getCreatedDate()

getCreatedDate() 
Inherited

getCurrency()

getCurrency() 

getCurrencyRate()

getCurrencyRate() 

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

getDateStamp()

getDateStamp($raw = FALSE

Parameters

$raw

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDepartment()

getDepartment() 

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableCalcAccrualPolicy()

getEnableCalcAccrualPolicy() 

getEnableCalcException()

getEnableCalcException() 

getEnableCalcFutureWeek()

getEnableCalcFutureWeek() 
Static

getEnableCalcSystemTotalTime()

getEnableCalcSystemTotalTime() 

getEnableCalcWeeklySystemTotalTime()

getEnableCalcWeeklySystemTotalTime() 

getEnableCalculatePolicy()

getEnableCalculatePolicy() 

getEnablePreMatureException()

getEnablePreMatureException() 

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getEnableTimeSheetVerificationCheck()

getEnableTimeSheetVerificationCheck() 

getEndTimeStamp()

getEndTimeStamp($raw = FALSE

Parameters

$raw

getEndType()

getEndType() 

getGenericObject()

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

Parameters

$list_factory

$id

$variable

$list_factory_method

$id_method

getHourlyRate()

getHourlyRate() 

getHourlyRateWithBurden()

getHourlyRateWithBurden() 

getIDSByListFactory()

getIDSByListFactory($lf) 
Inherited

Parameters

$lf

getId()

getId() 
Inherited

getIsPartialShift()

getIsPartialShift() 

getIterator()

getIterator() 
Inherited

getJob()

getJob() 

getJobItem()

getJobItem() 

getJobItemObject()

getJobItemObject() 

getJobObject()

getJobObject() 

getLabelId()

getLabelId() 
Inherited

getName()

getName() 

getNextInsertId()

getNextInsertId() 
Inherited

getNote()

getNote() 

getObjectAsArray()

getObjectAsArray($include_columns = NULL, $permission_children_ids = FALSE

Parameters

$include_columns

$permission_children_ids

getObjectType()

getObjectType() 

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getOverride()

getOverride() 

getPayCode()

getPayCode() 

getPayCodeObject()

getPayCodeObject() 

getPayPeriod()

getPayPeriod() 

getPayPeriodObject()

getPayPeriodObject() 

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

getProgressBarObject()

getProgressBarObject() 
Inherited

getPunchControlID()

getPunchControlID() 

getPunchControlObject()

getPunchControlObject() 

getQuantity()

getQuantity() 

getRecordCount()

getRecordCount() 
Inherited

getSequenceName()

getSequenceName() 
Inherited

getSourceObject()

getSourceObject() 

getSourceObjectListFactory()

getSourceObjectListFactory($object_type_id) 

Parameters

$object_type_id

getSourceObjectObject()

getSourceObjectObject() 

getStartTimeStamp()

getStartTimeStamp($raw = FALSE

Parameters

$raw

getStartType()

getStartType() 

getStatus()

getStatus() 

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTimeCategory()

getTimeCategory($include_total = TRUE, $report_columns = FALSE

Parameters

$include_total

$report_columns

getTotalTime()

getTotalTime() 

getTotalTimeAmount()

getTotalTimeAmount() 

getTotalTimeAmountWithBurden()

getTotalTimeAmountWithBurden() 

getTransactionMode()

getTransactionMode() 
Inherited

getType()

getType() 

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUser()

getUser() 

getUserObject()

getUserObject() 

getValidSQLColumns()

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

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

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

preSave()

preSave() 

reCalculateDay()

reCalculateDay($user_obj, $date_stamps, $enable_exception = FALSE, $enable_premature_exceptions = FALSE, $enable_future_exceptions = TRUE, $enable_holidays = FALSE
Static

Parameters

$user_obj

$date_stamps

$enable_exception

$enable_premature_exceptions

$enable_future_exceptions

$enable_holidays

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

setActualTotalTime()

setActualTotalTime($int) 

Parameters

$int

setBadQuantity()

setBadQuantity($val) 

Parameters

$val

setBaseHourlyRate()

setBaseHourlyRate($value) 

Parameters

$value

setBranch()

setBranch($id) 

Parameters

$id

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

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, $disable_rate_lookup = FALSE

Parameters

$id

$disable_rate_lookup

setCurrencyRate()

setCurrencyRate($value) 

Parameters

$value

setDateStamp()

setDateStamp($epoch) 

Parameters

$epoch

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

setEnableCalcAccrualPolicy()

setEnableCalcAccrualPolicy($bool) 

Parameters

$bool

setEnableCalcException()

setEnableCalcException($bool) 

Parameters

$bool

setEnableCalcFutureWeek()

setEnableCalcFutureWeek($bool) 
Static

Parameters

$bool

setEnableCalcSystemTotalTime()

setEnableCalcSystemTotalTime($bool) 

Parameters

$bool

setEnableCalcWeeklySystemTotalTime()

setEnableCalcWeeklySystemTotalTime($bool) 

Parameters

$bool

setEnableCalculatePolicy()

setEnableCalculatePolicy($bool) 

Parameters

$bool

setEnablePreMatureException()

setEnablePreMatureException($bool) 

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setEnableTimeSheetVerificationCheck()

setEnableTimeSheetVerificationCheck($bool) 

Parameters

$bool

setEndTimeStamp()

setEndTimeStamp($epoch) 

Parameters

$epoch

setEndType()

setEndType($value) 

Parameters

$value

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setHourlyRate()

setHourlyRate($value) 

Parameters

$value

setHourlyRateWithBurden()

setHourlyRateWithBurden($value) 

Parameters

$value

setId()

setId($id) 
Inherited

Parameters

$id

setIsPartialShift()

setIsPartialShift($bool) 

Parameters

$bool

setJob()

setJob($id) 

Parameters

$id

setJobItem()

setJobItem($id) 

Parameters

$id

setNote()

setNote($val) 

Parameters

$val

setObjectFromArray()

setObjectFromArray($data) 

Parameters

$data

setObjectType()

setObjectType($value) 

Parameters

$value

setOverride()

setOverride($bool) 

Parameters

$bool

setPayCode()

setPayCode($id) 

Parameters

$id

setPayPeriod()

setPayPeriod($id = NULL

Parameters

$id

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setPunchControlID()

setPunchControlID($id) 

Parameters

$id

setQuantity()

setQuantity($val) 

Parameters

$val

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setSourceObject()

setSourceObject($id) 

Parameters

$id

setStartTimeStamp()

setStartTimeStamp($epoch) 

Parameters

$epoch

setStartType()

setStartType($value) 

Parameters

$value

setTotalTime()

setTotalTime($int) 

Parameters

$int

setTotalTimeAmount()

setTotalTimeAmount($value) 

Parameters

$value

setTotalTimeAmountWithBurden()

setTotalTimeAmountWithBurden($value) 

Parameters

$value

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setUser()

setUser($id) 

Parameters

$id

sortAccumulatedTimeByOrder()

sortAccumulatedTimeByOrder($a, $b) 
Static

Parameters

$a

$b

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

 

$alternate_date_stamps

$alternate_date_stamps 

Default

NULL
 

$calc_future_week

$calc_future_week 

Default

FALSE
Static
 

$data

$data 

Default

array()
 

$old_data

$old_data 

Default

array()
 

$validate_only

$validate_only 

Default

FALSE
 

$AMF_message_id

$AMF_message_id 

Default

NULL
 

$calc_system_total_time

$calc_system_total_time 

Default

FALSE
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$job_item_obj

$job_item_obj 

Default

NULL
 

$job_obj

$job_obj 

Default

NULL
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pay_code_obj

$pay_code_obj 

Default

NULL
 

$pay_period_obj

$pay_period_obj 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'user_date_total_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$punch_control_obj

$punch_control_obj 

Default

NULL
 

$table

$table 

Default

'user_date_total'
 

$timesheet_verification_check

$timesheet_verification_check 

Default

FALSE
 

$user_obj

$user_obj 

Default

NULL