package Modules\Policy
inherited_from \AccrualPolicyFactory

 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

addAccrualPolicyTime()

addAccrualPolicyTime($epoch = NULL, $offset = 79200, $user_ids = FALSE
Inherited

Parameters

$epoch

$offset

$user_ids

addLog()

addLog($log_action) 
Inherited

Parameters

$log_action

bulkDelete()

bulkDelete($ids) 
Inherited

Parameters

$ids

calcAccrualAmount()

calcAccrualAmount($milestone_obj, $total_time, $annual_pay_periods) 
Inherited

Parameters

$milestone_obj

$total_time

$annual_pay_periods

calcAccrualPolicyTime()

calcAccrualPolicyTime($u_obj, $epoch, $offset, $pps_obj, $pay_period_arr, $accrual_balance, $update_records = TRUE
Inherited

Parameters

$u_obj

$epoch

$offset

$pps_obj

$pay_period_arr

$accrual_balance

$update_records

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

getAccrualBalanceWithProjection()

getAccrualBalanceWithProjection($u_obj, $epoch, $current_time, $previous_time = 0, $other_policy_balance_arr = FALSE
Inherited

Parameters

$u_obj

$epoch

$current_time

$previous_time

$other_policy_balance_arr

getAccrualPolicyAccount()

getAccrualPolicyAccount() 
Inherited

getAccrualPolicyUserModifierObject()

getAccrualPolicyUserModifierObject($u_obj) 
Inherited

Parameters

$u_obj

getAccrualRatePerTimeFrequency()

getAccrualRatePerTimeFrequency($accrual_rate, $annual_pay_periods = NULL
Inherited

Parameters

$accrual_rate

$annual_pay_periods

getActiveMilestoneObject()

getActiveMilestoneObject($u_obj, $epoch = NULL, $worked_time = 0, $modifier_obj = FALSE
Inherited

Parameters

$u_obj

$epoch

$worked_time

$modifier_obj

getAll()

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

Parameters

$limit

$page

$where

$order

getApplyFrequency()

getApplyFrequency() 
Inherited

getApplyFrequencyDayOfMonth()

getApplyFrequencyDayOfMonth() 
Inherited

getApplyFrequencyDayOfWeek()

getApplyFrequencyDayOfWeek() 
Inherited

getApplyFrequencyHireDate()

getApplyFrequencyHireDate() 
Inherited

getApplyFrequencyMonth()

getApplyFrequencyMonth() 
Inherited

getApplyFrequencyQuarterMonth()

getApplyFrequencyQuarterMonth() 
Inherited

getApplyFrequencyWindowDates()

getApplyFrequencyWindowDates($current_epoch, $offset, $pay_period_dates = NULL, $u_obj = NULL
Inherited

Parameters

$current_epoch

$offset

$pay_period_dates

$u_obj

getArrayByListFactory()

getArrayByListFactory($lf, $include_blank = TRUE

Parameters

$lf

$include_blank

getByCompanyId()

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

Parameters

$id

$where

$order

getByCompanyIdAndAccrualPolicyAccount()

getByCompanyIdAndAccrualPolicyAccount($id, $accrual_policy_account_id, $where = NULL, $order = NULL

Parameters

$id

$accrual_policy_account_id

$where

$order

getByCompanyIdAndContributingShiftPolicyId()

getByCompanyIdAndContributingShiftPolicyId($id, $contributing_shift_policy_id, $where = NULL, $order = NULL

Parameters

$id

$contributing_shift_policy_id

$where

$order

getByCompanyIdAndTypeId()

getByCompanyIdAndTypeId($id, $type_id, $where = NULL, $order = NULL

Parameters

$id

$type_id

$where

$order

getByCompanyIdArray()

getByCompanyIdArray($company_id, $include_blank = TRUE

Parameters

$company_id

$include_blank

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

getByPolicyGroupUserId()

getByPolicyGroupUserId($user_id, $where = NULL, $order = NULL

Parameters

$user_id

$where

$order

getByPolicyGroupUserIdAndAccrualPolicyAccount()

getByPolicyGroupUserIdAndAccrualPolicyAccount($user_id, $accrual_policy_account_id, $where = NULL, $order = NULL

Parameters

$user_id

$accrual_policy_account_id

$where

$order

getByPolicyGroupUserIdAndType()

getByPolicyGroupUserIdAndType($user_id, $type_id, $where = NULL, $order = NULL

Parameters

$user_id

$type_id

$where

$order

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

getCompany()

getCompany() 
Inherited

getCompanyGenericMapData()

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

Parameters

$company_id

$object_type_id

$id

$variable

getCompanyObject()

getCompanyObject() 
Inherited

getContributingShiftPolicy()

getContributingShiftPolicy() 
Inherited

getContributingShiftPolicyObject()

getContributingShiftPolicyObject() 
Inherited

getCreatedAndUpdatedColumns()

getCreatedAndUpdatedColumns($data, $include_columns = NULL
Inherited

Parameters

$data

$include_columns

getCreatedBy()

getCreatedBy() 
Inherited

getCreatedDate()

getCreatedDate() 
Inherited

getCurrent()

getCurrent() 
Inherited

getCurrentAccrualBalance()

getCurrentAccrualBalance($user_id, $accrual_policy_account_id = NULL
Inherited

Parameters

$user_id

$accrual_policy_account_id

getCurrentMilestoneRolloverDate()

getCurrentMilestoneRolloverDate($epoch, $u_obj = NULL, $use_previous_year_date = FALSE
Inherited

Parameters

$epoch

$u_obj

$use_previous_year_date

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

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDescription()

getDescription() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableOpeningBalance()

getEnableOpeningBalance() 
Inherited

getEnablePayStubBalanceDisplay()

getEnablePayStubBalanceDisplay() 
Inherited

getEnableProRateInitialPeriod()

getEnableProRateInitialPeriod() 
Inherited

getEnableSystemLogDetail()

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

getIterator()

getIterator() 
Inherited

getLabelId()

getLabelId() 
Inherited

getLengthOfServiceContributingPayCodePolicy()

getLengthOfServiceContributingPayCodePolicy() 
Inherited

getLengthOfServiceContributingPayCodePolicyObject()

getLengthOfServiceContributingPayCodePolicyObject() 
Inherited

getMaximumTime()

getMaximumTime() 
Inherited

getMilestoneRolloverDate()

getMilestoneRolloverDate($u_obj = NULL, $modifier_obj = NULL
Inherited

Parameters

$u_obj

$modifier_obj

getMilestoneRolloverDayOfMonth()

getMilestoneRolloverDayOfMonth() 
Inherited

getMilestoneRolloverHireDate()

getMilestoneRolloverHireDate() 
Inherited

getMilestoneRolloverMonth()

getMilestoneRolloverMonth() 
Inherited

getMinimumEmployedDays()

getMinimumEmployedDays() 
Inherited

getMinimumTime()

getMinimumTime() 
Inherited

getModifiedHireDate()

getModifiedHireDate($u_obj, $modifier_obj = NULL
Inherited

Parameters

$u_obj

$modifier_obj

getName()

getName() 
Inherited

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL
Inherited

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getPayPeriodArray()

getPayPeriodArray($pps_obj, $u_obj, $start_epoch, $end_epoch) 
Inherited

Parameters

$pps_obj

$u_obj

$start_epoch

$end_epoch

getPayPeriodDatesFromArray()

getPayPeriodDatesFromArray($pay_period_arr, $epoch) 
Inherited

Parameters

$pay_period_arr

$epoch

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

getProRateInitialFrequencyWindow()

getProRateInitialFrequencyWindow($input_amount, $current_epoch, $offset, $pay_period_dates = NULL, $u_obj = NULL
Inherited

Parameters

$input_amount

$current_epoch

$offset

$pay_period_dates

$u_obj

getProgressBarObject()

getProgressBarObject() 
Inherited

getProjectedAccrualAmount()

getProjectedAccrualAmount($u_obj, $start_epoch, $end_epoch) 
Inherited

Parameters

$u_obj

$start_epoch

$end_epoch

getRecordCount()

getRecordCount() 
Inherited

getSequenceName()

getSequenceName() 
Inherited

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTransactionMode()

getTransactionMode() 
Inherited

getType()

getType() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getValidSQLColumns()

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

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

getWorkedTimeByUserIdAndEndDate()

getWorkedTimeByUserIdAndEndDate($user_id, $start_date = NULL, $end_date = NULL
Inherited

Parameters

$user_id

$start_date

$end_date

inApplyFrequencyWindow()

inApplyFrequencyWindow($current_epoch, $offset, $pay_period_dates = NULL, $u_obj = NULL
Inherited

Parameters

$current_epoch

$offset

$pay_period_dates

$u_obj

inRolloverFrequencyWindow()

inRolloverFrequencyWindow($current_epoch, $offset, $u_obj, $pay_period_start_date = NULL
Inherited

Parameters

$current_epoch

$offset

$u_obj

$pay_period_start_date

isHourBasedLengthOfService()

isHourBasedLengthOfService() 
Inherited

isInitialApplyFrequencyWindow()

isInitialApplyFrequencyWindow($current_epoch, $offset, $pay_period_dates = NULL, $u_obj = NULL
Inherited

Parameters

$current_epoch

$offset

$pay_period_dates

$u_obj

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isUniqueName()

isUniqueName($name) 
Inherited

Parameters

$name

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

postSave()

postSave() 
Inherited

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

serializeRS()

serializeRS($rs) 
Inherited

Parameters

$rs

setAMFMessageID()

setAMFMessageID($id) 
Inherited

Parameters

$id

setAccrualPolicyAccount()

setAccrualPolicyAccount($id) 
Inherited

Parameters

$id

setApplyFrequency()

setApplyFrequency($value) 
Inherited

Parameters

$value

setApplyFrequencyDayOfMonth()

setApplyFrequencyDayOfMonth($value) 
Inherited

Parameters

$value

setApplyFrequencyDayOfWeek()

setApplyFrequencyDayOfWeek($value) 
Inherited

Parameters

$value

setApplyFrequencyHireDate()

setApplyFrequencyHireDate($bool) 
Inherited

Parameters

$bool

setApplyFrequencyMonth()

setApplyFrequencyMonth($value) 
Inherited

Parameters

$value

setApplyFrequencyQuarterMonth()

setApplyFrequencyQuarterMonth($value) 
Inherited

Parameters

$value

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCompany()

setCompany($id) 
Inherited

Parameters

$id

setContributingShiftPolicy()

setContributingShiftPolicy($id) 
Inherited

Parameters

$id

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

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setDescription()

setDescription($description) 
Inherited

Parameters

$description

setEnableOpeningBalance()

setEnableOpeningBalance($bool) 
Inherited

Parameters

$bool

setEnablePayStubBalanceDisplay()

setEnablePayStubBalanceDisplay($bool) 
Inherited

Parameters

$bool

setEnableProRateInitialPeriod()

setEnableProRateInitialPeriod($bool) 
Inherited

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setLengthOfServiceContributingPayCodePolicy()

setLengthOfServiceContributingPayCodePolicy($id) 
Inherited

Parameters

$id

setMaximumTime()

setMaximumTime($int) 
Inherited

Parameters

$int

setMilestoneRolloverDayOfMonth()

setMilestoneRolloverDayOfMonth($value) 
Inherited

Parameters

$value

setMilestoneRolloverHireDate()

setMilestoneRolloverHireDate($bool) 
Inherited

Parameters

$bool

setMilestoneRolloverMonth()

setMilestoneRolloverMonth($value) 
Inherited

Parameters

$value

setMinimumEmployedDays()

setMinimumEmployedDays($int) 
Inherited

Parameters

$int

setMinimumTime()

setMinimumTime($int) 
Inherited

Parameters

$int

setName()

setName($name) 
Inherited

Parameters

$name

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setType()

setType($value) 
Inherited

Parameters

$value

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

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
 

$company_obj

$company_obj 

Default

NULL
 

$contributing_shift_policy_obj

$contributing_shift_policy_obj 

Default

NULL
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$length_of_service_contributing_pay_code_policy_obj

$length_of_service_contributing_pay_code_policy_obj 

Default

NULL
 

$milestone_objs

$milestone_objs 

Default

NULL
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'accrual_policy_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'accrual_policy'
 

$user_modifier_obj

$user_modifier_obj 

Default

NULL