package Core
inherited_from \PayStubFactory

 Methods

CalcDifferences()

CalcDifferences($pay_stub_id1, $pay_stub_id2, $pay_stub_2_end_date, $ps_amendment_date = NULL
InheritedStatic

Parameters

$pay_stub_id1

$pay_stub_id2

$pay_stub_2_end_date

$ps_amendment_date

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

ValidateEntries()

ValidateEntries() 
Inherited

__construct()

__construct() 
Inherited

__toString()

__toString() 
Inherited

addDeductionSum()

addDeductionSum() 
Inherited

addEarningSum()

addEarningSum() 
Inherited

addEmployerDeductionSum()

addEmployerDeductionSum() 
Inherited

addEntry()

addEntry($pay_stub_entry_account_id, $amount, $units = NULL, $rate = NULL, $description = NULL, $ps_amendment_id = NULL, $ytd_amount = NULL, $ytd_units = NULL, $ytd_adjustment = FALSE, $user_expense_id = NULL
Inherited

Parameters

$pay_stub_entry_account_id

$amount

$units

$rate

$description

$ps_amendment_id

$ytd_amount

$ytd_units

$ytd_adjustment

$user_expense_id

addLog()

addLog($log_action) 
Inherited

Parameters

$log_action

addNetPay()

addNetPay() 
Inherited

addUnUsedYTDEntries()

addUnUsedYTDEntries() 
Inherited

bulkDelete()

bulkDelete($ids) 
Inherited

Parameters

$ids

calcPayStubEntriesYTD()

calcPayStubEntriesYTD() 
Inherited

calculate()

calculate($epoch = NULL

Parameters

$epoch

checkDeductions()

checkDeductions() 
Inherited

checkEarnings()

checkEarnings() 
Inherited

checkNetPay()

checkNetPay() 
Inherited

checkNoEarnings()

checkNoEarnings() 
Inherited

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

deleteEntries()

deleteEntries($all_entries = FALSE
Inherited

Parameters

$all_entries

emailPayStub()

emailPayStub() 
Inherited

exportPayStub()

exportPayStub($pslf = NULL, $export_type = NULL, $company_obj = NULL
Inherited

Parameters

$pslf

$export_type

$company_obj

fromBool()

fromBool($value) 
Inherited

Parameters

$value

getAMFMessageID()

getAMFMessageID() 
Inherited

getCache()

getCache($cache_id, $group_id = NULL
Inherited

Parameters

$cache_id

$group_id

getCallerFunction()

getCallerFunction() 
Inherited

getChequeFormsObject()

getChequeFormsObject($format) 
Inherited

Parameters

$format

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

getCurrencyObject()

getCurrencyObject() 
Inherited

getCurrencyRate()

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

getDeductionObjectArrayForSorting()

getDeductionObjectArrayForSorting($obj) 

Parameters

$obj

getDeductionObjectSortValue()

getDeductionObjectSortValue($type_order, $calculation_order, $id) 

Parameters

$type_order

$calculation_order

$id

getDeductionSum()

getDeductionSum() 
Inherited

getDeductions()

getDeductions() 
Inherited

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDisplayID()

getDisplayID() 
Inherited

getEarningSum()

getEarningSum() 
Inherited

getEmailPayStubAddresses()

getEmailPayStubAddresses() 
Inherited

getEmployerDeductionSum()

getEmployerDeductionSum() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableCalcCurrentYTD()

getEnableCalcCurrentYTD() 
Inherited

getEnableCalcYTD()

getEnableCalcYTD() 
Inherited

getEnableCorrection()

getEnableCorrection() 

getEnableEmail()

getEnableEmail() 
Inherited

getEnableLinkedAccruals()

getEnableLinkedAccruals() 
Inherited

getEnablePostTerminationCalculation()

getEnablePostTerminationCalculation() 

getEnableProcessEntries()

getEnableProcessEntries() 
Inherited

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getEndDate()

getEndDate($raw = FALSE
Inherited

Parameters

$raw

getFormObject()

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

getGrossPay()

getGrossPay() 
Inherited

getIDSByListFactory()

getIDSByListFactory($lf) 
Inherited

Parameters

$lf

getId()

getId() 
Inherited

getIterator()

getIterator() 
Inherited

getLabelId()

getLabelId() 
Inherited

getNetPay()

getNetPay() 
Inherited

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL, $permission_children_ids = FALSE
Inherited

Parameters

$include_columns

$permission_children_ids

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getOrderedDeductionAndPSAmendment()

getOrderedDeductionAndPSAmendment($udlf, $psalf, $uelf) 

Parameters

$udlf

$psalf

$uelf

getPayPeriod()

getPayPeriod() 
inherited_from \PayStubFactory::getPayPeriod()

getPayPeriod()

getPayPeriod() 
Inherited

getPayPeriodObject()

getPayPeriodObject() 
inherited_from \PayStubFactory::getPayPeriodObject()

getPayPeriodObject()

getPayPeriodObject() 
Inherited

getPayPeriodScheduleObject()

getPayPeriodScheduleObject() 

getPayStub()

getPayStub($pslf = NULL, $hide_employer_rows = TRUE
Inherited

Parameters

$pslf

$hide_employer_rows

getPayStubEntryAccountArray()

getPayStubEntryAccountArray($id) 
Inherited

Parameters

$id

getPayStubEntryAccountLinkObject()

getPayStubEntryAccountLinkObject() 
inherited_from \PayStubFactory::getPayStubEntryAccountLinkObject()

getPayStubEntryAccountLinkObject()

getPayStubEntryAccountLinkObject() 
Inherited

getPayStubEntryAccountsArray()

getPayStubEntryAccountsArray() 
Inherited

getPayStubEntryAccountsTypeArray()

getPayStubEntryAccountsTypeArray() 

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

getRecordCount()

getRecordCount() 
Inherited

getRun()

getRun() 
inherited_from \PayStubFactory::getRun()

getRun()

getRun() 
Inherited

getSequenceName()

getSequenceName() 
Inherited

getStartDate()

getStartDate($raw = FALSE
Inherited

Parameters

$raw

getStatus()

getStatus() 
Inherited

getStatusBy()

getStatusBy() 
Inherited

getStatusDate()

getStatusDate() 
Inherited

getSumByEntriesArrayAndTypeIDAndPayStubAccountID()

getSumByEntriesArrayAndTypeIDAndPayStubAccountID($ps_entries, $type_ids = NULL, $ps_account_ids = NULL
Inherited

Parameters

$ps_entries

$type_ids

$ps_account_ids

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTainted()

getTainted() 
Inherited

getTemp()

getTemp() 
Inherited

getTransactionDate()

getTransactionDate($raw = FALSE
inherited_from \PayStubFactory::getTransactionDate()

Parameters

$raw

getTransactionDate()

getTransactionDate($raw = FALSE
Inherited

Parameters

$raw

getTransactionMode()

getTransactionMode() 
Inherited

getType()

getType() 
inherited_from \PayStubFactory::getType()

getType()

getType() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUser()

getUser() 
inherited_from \PayStubFactory::getUser()

getUser()

getUser() 
Inherited

getUserObject()

getUserObject() 
inherited_from \PayStubFactory::getUserObject()

getUserObject()

getUserObject() 
Inherited

getValidSQLColumns()

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

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

getWageObject()

getWageObject() 

handlePayStubAmendmentStatuses()

handlePayStubAmendmentStatuses() 
Inherited

handleUserExpenseStatuses()

handleUserExpenseStatuses() 
Inherited

isAccrualBalanceOutstanding()

isAccrualBalanceOutstanding() 
Inherited

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isUniquePayStub()

isUniquePayStub() 
Inherited

isUniquePayStubType()

isUniquePayStubType() 
Inherited

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isValidEndDate()

isValidEndDate($epoch) 
Inherited

Parameters

$epoch

isValidStartDate()

isValidStartDate($epoch) 
Inherited

Parameters

$epoch

isValidTransactionDate()

isValidTransactionDate($epoch) 
Inherited

Parameters

$epoch

isWarning()

isWarning() 
Inherited

loadCurrentPayStubEntries()

loadCurrentPayStubEntries() 
Inherited

loadPreviousPayStub()

loadPreviousPayStub() 
Inherited

markPayStubEntriesForYTDCalculation()

markPayStubEntriesForYTDCalculation($pay_stub_arr, $clear_out_ytd = TRUE
Inherited

Parameters

$pay_stub_arr

$clear_out_ytd

postSave()

postSave() 
Inherited

preSave()

preSave() 
Inherited

processEntries()

processEntries() 
Inherited

reCalculateCurrentYTD()

reCalculateCurrentYTD() 
Inherited

reCalculatePayStubYTD()

reCalculatePayStubYTD($pay_stub_id, $enable_email = FALSE
Inherited

Parameters

$pay_stub_id

$enable_email

reCalculateYTD()

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

savePayStubEntries()

savePayStubEntries() 
Inherited

serializeRS()

serializeRS($rs) 
Inherited

Parameters

$rs

setAMFMessageID()

setAMFMessageID($id) 
Inherited

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

Parameters

$id

setCurrencyRate()

setCurrencyRate($value) 
Inherited

Parameters

$value

setDefaultDates()

setDefaultDates() 
Inherited

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setEnableCalcCurrentYTD()

setEnableCalcCurrentYTD($bool) 
Inherited

Parameters

$bool

setEnableCalcYTD()

setEnableCalcYTD($bool) 
Inherited

Parameters

$bool

setEnableCorrection()

setEnableCorrection($bool) 

Parameters

$bool

setEnableEmail()

setEnableEmail($bool) 
Inherited

Parameters

$bool

setEnableLinkedAccruals()

setEnableLinkedAccruals($bool) 
Inherited

Parameters

$bool

setEnablePostTerminationCalculation()

setEnablePostTerminationCalculation($bool) 

Parameters

$bool

setEnableProcessEntries()

setEnableProcessEntries($bool) 
Inherited

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setEndDate()

setEndDate($epoch) 
Inherited

Parameters

$epoch

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setPayPeriod()

setPayPeriod($id) 
inherited_from \PayStubFactory::setPayPeriod()

Parameters

$id

setPayPeriod()

setPayPeriod($id) 
Inherited

Parameters

$id

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setRun()

setRun($id) 
inherited_from \PayStubFactory::setRun()

Parameters

$id

setRun()

setRun($id) 
Inherited

Parameters

$id

setStartDate()

setStartDate($epoch) 
Inherited

Parameters

$epoch

setStatus()

setStatus($status) 
Inherited

Parameters

$status

setStatusBy()

setStatusBy($id = NULL
Inherited

Parameters

$id

setStatusDate()

setStatusDate($epoch = NULL
Inherited

Parameters

$epoch

setTainted()

setTainted($bool) 
Inherited

Parameters

$bool

setTemp()

setTemp($bool) 
Inherited

Parameters

$bool

setTransactionDate()

setTransactionDate($epoch) 
inherited_from \PayStubFactory::setTransactionDate()

Parameters

$epoch

setTransactionDate()

setTransactionDate($epoch) 
Inherited

Parameters

$epoch

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setType()

setType($id) 
inherited_from \PayStubFactory::setType()

Parameters

$id

setType()

setType($type) 
Inherited

Parameters

$type

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setUser()

setUser($id) 
inherited_from \PayStubFactory::setUser()

Parameters

$id

setUser()

setUser($id) 
Inherited

Parameters

$id

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

$pay_period_obj

$pay_period_obj 

Default

NULL
inherited_from \PayStubFactory::pay_period_obj
 

$pay_period_schedule_obj

$pay_period_schedule_obj 

Default

NULL
   

$pay_stub_entry_accounts_type_obj

$pay_stub_entry_accounts_type_obj 

Default

NULL
 

$payroll_deduction_obj

$payroll_deduction_obj 

Default

NULL
 

$transaction_date

$transaction_date 

Default

FALSE
 

$user_obj

$user_obj 

Default

NULL
inherited_from \PayStubFactory::user_obj
 

$user_wage_obj

$user_wage_obj 

Default

NULL
 

$validate_only

$validate_only 

Default

FALSE
 

$wage_obj

$wage_obj 

Default

NULL
 

$AMF_message_id

$AMF_message_id 

Default

NULL
 

$currency_obj

$currency_obj 

Default

NULL
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$is_unique_pay_stub

$is_unique_pay_stub 

Default

NULL
 

$is_unique_pay_stub_type

$is_unique_pay_stub_type 

Default

NULL
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pay_period_obj

$pay_period_obj 

Default

NULL
   

$pay_stub_entry_accounts_obj

$pay_stub_entry_accounts_obj 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'pay_stub_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'pay_stub'
 

$tmp_data

$tmp_data 

Default

array('previous_pay_stub' => NULL, 'current_pay_stub' => NULL)
 

$user_obj

$user_obj 

Default

NULL