package Modules\Policy
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

fromBool()

fromBool($value) 
Inherited

Parameters

$value

getAMFMessageID()

getAMFMessageID() 
Inherited

getBranch()

getBranch() 

getBranchSelectionType()

getBranchSelectionType() 

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

getCompanyGenericMapData()

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

Parameters

$company_id

$object_type_id

$id

$variable

getCompanyObject()

getCompanyObject() 

getContributingShiftPolicy()

getContributingShiftPolicy() 

getContributingShiftPolicyObject()

getContributingShiftPolicyObject() 

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

getDailyTriggerTime()

getDailyTriggerTime() 

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

getDepartment()

getDepartment() 

getDepartmentSelectionType()

getDepartmentSelectionType() 

getDescription()

getDescription() 

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getEndDate()

getEndDate($raw = FALSE

Parameters

$raw

getEndTime()

getEndTime($raw = FALSE

Parameters

$raw

getExcludeDefaultBranch()

getExcludeDefaultBranch() 

getExcludeDefaultDepartment()

getExcludeDefaultDepartment() 

getExcludeDefaultJob()

getExcludeDefaultJob() 

getExcludeDefaultJobItem()

getExcludeDefaultJobItem() 

getFri()

getFri() 

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

getIncludeBreakPolicy()

getIncludeBreakPolicy() 

getIncludeHolidayType()

getIncludeHolidayType() 

getIncludeMealPolicy()

getIncludeMealPolicy() 

getIncludePartialPunch()

getIncludePartialPunch() 

getIterator()

getIterator() 
Inherited

getJob()

getJob() 

getJobGroup()

getJobGroup() 

getJobGroupSelectionType()

getJobGroupSelectionType() 

getJobItem()

getJobItem() 

getJobItemGroup()

getJobItemGroup() 

getJobItemGroupSelectionType()

getJobItemGroupSelectionType() 

getJobItemSelectionType()

getJobItemSelectionType() 

getJobSelectionType()

getJobSelectionType() 

getLabelId()

getLabelId() 
Inherited

getMaximumDailyTriggerTime()

getMaximumDailyTriggerTime() 

getMaximumNoBreakTime()

getMaximumNoBreakTime() 

getMaximumTime()

getMaximumTime() 

getMaximumWeeklyTriggerTime()

getMaximumWeeklyTriggerTime() 

getMinimumBreakTime()

getMinimumBreakTime() 

getMinimumFirstShiftTime()

getMinimumFirstShiftTime() 

getMinimumShiftTime()

getMinimumShiftTime() 

getMinimumTime()

getMinimumTime() 

getMinimumTimeBetweenShift()

getMinimumTimeBetweenShift() 

getMon()

getMon() 

getName()

getName() 

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getPartialPunchTotalTime()

getPartialPunchTotalTime($in_epoch, $out_epoch, $total_time, $calculate_policy_obj = NULL

Parameters

$in_epoch

$out_epoch

$total_time

$calculate_policy_obj

getPayCode()

getPayCode() 

getPayCodeObject()

getPayCodeObject() 

getPayFormulaPolicy()

getPayFormulaPolicy() 

getPayType()

getPayType() 

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

getSat()

getSat() 

getSequenceName()

getSequenceName() 
Inherited

getStartDate()

getStartDate($raw = FALSE

Parameters

$raw

getStartTime()

getStartTime($raw = FALSE

Parameters

$raw

getSun()

getSun() 

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getThu()

getThu() 

getTransactionMode()

getTransactionMode() 
Inherited

getTue()

getTue() 

getType()

getType() 

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

getWed()

getWed() 

getWeeklyTriggerTime()

getWeeklyTriggerTime() 

isActive()

isActive($in_epoch, $out_epoch = NULL, $calculate_policy_obj = NULL

Parameters

$in_epoch

$out_epoch

$calculate_policy_obj

isActiveDate()

isActiveDate($epoch, $maximum_shift_time = 0

Parameters

$epoch

$maximum_shift_time

isActiveDayOfWeek()

isActiveDayOfWeek($epoch) 

Parameters

$epoch

isActiveTime()

isActiveTime($in_epoch, $out_epoch, $calculate_policy_obj = NULL

Parameters

$in_epoch

$out_epoch

$calculate_policy_obj

isDayOfWeekRestricted()

isDayOfWeekRestricted() 

isHourRestricted()

isHourRestricted() 

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isTimeRestricted()

isTimeRestricted() 

isUniqueName()

isUniqueName($name) 

Parameters

$name

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

postSave()

postSave() 

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

setBranch()

setBranch($ids) 

Parameters

$ids

setBranchSelectionType()

setBranchSelectionType($value) 

Parameters

$value

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCompany()

setCompany($id) 

Parameters

$id

setContributingShiftPolicy()

setContributingShiftPolicy($id) 

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

setDailyTriggerTime()

setDailyTriggerTime($int) 

Parameters

$int

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setDepartment()

setDepartment($ids) 

Parameters

$ids

setDepartmentSelectionType()

setDepartmentSelectionType($value) 

Parameters

$value

setDescription()

setDescription($description) 

Parameters

$description

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setEndDate()

setEndDate($epoch) 

Parameters

$epoch

setEndTime()

setEndTime($epoch) 

Parameters

$epoch

setExcludeDefaultBranch()

setExcludeDefaultBranch($bool) 

Parameters

$bool

setExcludeDefaultDepartment()

setExcludeDefaultDepartment($bool) 

Parameters

$bool

setExcludeDefaultJob()

setExcludeDefaultJob($bool) 

Parameters

$bool

setExcludeDefaultJobItem()

setExcludeDefaultJobItem($bool) 

Parameters

$bool

setFri()

setFri($bool) 

Parameters

$bool

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setIncludeBreakPolicy()

setIncludeBreakPolicy($bool) 

Parameters

$bool

setIncludeHolidayType()

setIncludeHolidayType($value) 

Parameters

$value

setIncludeMealPolicy()

setIncludeMealPolicy($bool) 

Parameters

$bool

setIncludePartialPunch()

setIncludePartialPunch($bool) 

Parameters

$bool

setJob()

setJob($ids) 

Parameters

$ids

setJobGroup()

setJobGroup($ids) 

Parameters

$ids

setJobGroupSelectionType()

setJobGroupSelectionType($value) 

Parameters

$value

setJobItem()

setJobItem($ids) 

Parameters

$ids

setJobItemGroup()

setJobItemGroup($ids) 

Parameters

$ids

setJobItemGroupSelectionType()

setJobItemGroupSelectionType($value) 

Parameters

$value

setJobItemSelectionType()

setJobItemSelectionType($value) 

Parameters

$value

setJobSelectionType()

setJobSelectionType($value) 

Parameters

$value

setMaximumDailyTriggerTime()

setMaximumDailyTriggerTime($int) 

Parameters

$int

setMaximumNoBreakTime()

setMaximumNoBreakTime($int) 

Parameters

$int

setMaximumTime()

setMaximumTime($int) 

Parameters

$int

setMaximumWeeklyTriggerTime()

setMaximumWeeklyTriggerTime($int) 

Parameters

$int

setMinimumBreakTime()

setMinimumBreakTime($int) 

Parameters

$int

setMinimumFirstShiftTime()

setMinimumFirstShiftTime($int) 

Parameters

$int

setMinimumShiftTime()

setMinimumShiftTime($int) 

Parameters

$int

setMinimumTime()

setMinimumTime($int) 

Parameters

$int

setMinimumTimeBetweenShift()

setMinimumTimeBetweenShift($int) 

Parameters

$int

setMon()

setMon($bool) 

Parameters

$bool

setName()

setName($name) 

Parameters

$name

setObjectFromArray()

setObjectFromArray($data) 

Parameters

$data

setPayCode()

setPayCode($id) 

Parameters

$id

setPayFormulaPolicy()

setPayFormulaPolicy($id) 

Parameters

$id

setPayType()

setPayType($value) 

Parameters

$value

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setSat()

setSat($bool) 

Parameters

$bool

setStartDate()

setStartDate($epoch) 

Parameters

$epoch

setStartTime()

setStartTime($epoch) 

Parameters

$epoch

setSun()

setSun($bool) 

Parameters

$bool

setThu()

setThu($bool) 

Parameters

$bool

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setTue()

setTue($bool) 

Parameters

$bool

setType()

setType($value) 

Parameters

$value

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setWed()

setWed($bool) 

Parameters

$bool

setWeeklyTriggerTime()

setWeeklyTriggerTime($int) 

Parameters

$int

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
 

$branch_map

$branch_map 

Default

NULL
 

$company_obj

$company_obj 

Default

NULL
 

$contributing_shift_policy_obj

$contributing_shift_policy_obj 

Default

NULL
 

$department_map

$department_map 

Default

NULL
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$job_group_map

$job_group_map 

Default

NULL
 

$job_item_group_map

$job_item_group_map 

Default

NULL
 

$job_item_map

$job_item_map 

Default

NULL
 

$job_map

$job_map 

Default

NULL
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pay_code_obj

$pay_code_obj 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'premium_policy_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'premium_policy'