package Modules\Policy
inherited_from \PremiumPolicyFactory

 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

addLog()

addLog($log_action) 
Inherited

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

getAPISearchByCompanyIdAndArrayCriteria()

getAPISearchByCompanyIdAndArrayCriteria($company_id, $filter_data, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$company_id

$filter_data

$limit

$page

$where

$order

getAll()

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

Parameters

$limit

$page

$where

$order

getBranch()

getBranch() 
Inherited

getBranchSelectionType()

getBranchSelectionType() 
Inherited

getByCompanyId()

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

Parameters

$id

$where

$order

getByCompanyIdAndContributingShiftPolicyId()

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

Parameters

$id

$contributing_shift_policy_id

$where

$order

getByCompanyIdAndPayCodeId()

getByCompanyIdAndPayCodeId($company_id, $id, $limit = NULL, $where = NULL, $order = NULL

Parameters

$company_id

$id

$limit

$where

$order

getByCompanyIdAndPayFormulaPolicyId()

getByCompanyIdAndPayFormulaPolicyId($id, $pay_formula_policy_id, $where = NULL, $order = NULL

Parameters

$id

$pay_formula_policy_id

$where

$order

getByCompanyIdArray()

getByCompanyIdArray($company_id, $include_blank = TRUE, $where = NULL

Parameters

$company_id

$include_blank

$where

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

getByPolicyGroupUserIdOrId()

getByPolicyGroupUserIdOrId($user_id, $id = NULL, $where = NULL, $order = NULL

Parameters

$user_id

$id

$where

$order

getByPolicyGroupUserIdOrSchedulePolicyID()

getByPolicyGroupUserIdOrSchedulePolicyID($user_id, $id, $where = NULL, $order = NULL

Parameters

$user_id

$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

getCurrentRow()

getCurrentRow($offset = 1
Inherited

Parameters

$offset

getDailyTriggerTime()

getDailyTriggerTime() 
Inherited

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

getDepartmentSelectionType()

getDepartmentSelectionType() 
Inherited

getDescription()

getDescription() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getEndDate()

getEndDate($raw = FALSE
Inherited

Parameters

$raw

getEndTime()

getEndTime($raw = FALSE
Inherited

Parameters

$raw

getExcludeDefaultBranch()

getExcludeDefaultBranch() 
Inherited

getExcludeDefaultDepartment()

getExcludeDefaultDepartment() 
Inherited

getExcludeDefaultJob()

getExcludeDefaultJob() 
Inherited

getExcludeDefaultJobItem()

getExcludeDefaultJobItem() 
Inherited

getFri()

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

getIncludeBreakPolicy()

getIncludeBreakPolicy() 
Inherited

getIncludeHolidayType()

getIncludeHolidayType() 
Inherited

getIncludeMealPolicy()

getIncludeMealPolicy() 
Inherited

getIncludePartialPunch()

getIncludePartialPunch() 
Inherited

getIterator()

getIterator() 
Inherited

getJob()

getJob() 
Inherited

getJobGroup()

getJobGroup() 
Inherited

getJobGroupSelectionType()

getJobGroupSelectionType() 
Inherited

getJobItem()

getJobItem() 
Inherited

getJobItemGroup()

getJobItemGroup() 
Inherited

getJobItemGroupSelectionType()

getJobItemGroupSelectionType() 
Inherited

getJobItemSelectionType()

getJobItemSelectionType() 
Inherited

getJobSelectionType()

getJobSelectionType() 
Inherited

getLabelId()

getLabelId() 
Inherited

getMaximumDailyTriggerTime()

getMaximumDailyTriggerTime() 
Inherited

getMaximumNoBreakTime()

getMaximumNoBreakTime() 
Inherited

getMaximumTime()

getMaximumTime() 
Inherited

getMaximumWeeklyTriggerTime()

getMaximumWeeklyTriggerTime() 
Inherited

getMinimumBreakTime()

getMinimumBreakTime() 
Inherited

getMinimumFirstShiftTime()

getMinimumFirstShiftTime() 
Inherited

getMinimumShiftTime()

getMinimumShiftTime() 
Inherited

getMinimumTime()

getMinimumTime() 
Inherited

getMinimumTimeBetweenShift()

getMinimumTimeBetweenShift() 
Inherited

getMon()

getMon() 
Inherited

getName()

getName() 
Inherited

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL
Inherited

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getPartialPunchTotalTime()

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

Parameters

$in_epoch

$out_epoch

$total_time

$calculate_policy_obj

getPayCode()

getPayCode() 
Inherited

getPayCodeObject()

getPayCodeObject() 
Inherited

getPayFormulaPolicy()

getPayFormulaPolicy() 
Inherited

getPayType()

getPayType() 
Inherited

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

getSequenceName()

getSequenceName() 
Inherited

getStartDate()

getStartDate($raw = FALSE
Inherited

Parameters

$raw

getStartTime()

getStartTime($raw = FALSE
Inherited

Parameters

$raw

getSun()

getSun() 
Inherited

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getThu()

getThu() 
Inherited

getTransactionMode()

getTransactionMode() 
Inherited

getTue()

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

getWed()

getWed() 
Inherited

getWeeklyTriggerTime()

getWeeklyTriggerTime() 
Inherited

isActive()

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

Parameters

$in_epoch

$out_epoch

$calculate_policy_obj

isActiveDate()

isActiveDate($epoch, $maximum_shift_time = 0
Inherited

Parameters

$epoch

$maximum_shift_time

isActiveDayOfWeek()

isActiveDayOfWeek($epoch) 
Inherited

Parameters

$epoch

isActiveTime()

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

Parameters

$in_epoch

$out_epoch

$calculate_policy_obj

isDayOfWeekRestricted()

isDayOfWeekRestricted() 
Inherited

isHourRestricted()

isHourRestricted() 
Inherited

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isTimeRestricted()

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

setBranch()

setBranch($ids) 
Inherited

Parameters

$ids

setBranchSelectionType()

setBranchSelectionType($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

setDailyTriggerTime()

setDailyTriggerTime($int) 
Inherited

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

Parameters

$ids

setDepartmentSelectionType()

setDepartmentSelectionType($value) 
Inherited

Parameters

$value

setDescription()

setDescription($description) 
Inherited

Parameters

$description

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setEndDate()

setEndDate($epoch) 
Inherited

Parameters

$epoch

setEndTime()

setEndTime($epoch) 
Inherited

Parameters

$epoch

setExcludeDefaultBranch()

setExcludeDefaultBranch($bool) 
Inherited

Parameters

$bool

setExcludeDefaultDepartment()

setExcludeDefaultDepartment($bool) 
Inherited

Parameters

$bool

setExcludeDefaultJob()

setExcludeDefaultJob($bool) 
Inherited

Parameters

$bool

setExcludeDefaultJobItem()

setExcludeDefaultJobItem($bool) 
Inherited

Parameters

$bool

setFri()

setFri($bool) 
Inherited

Parameters

$bool

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setIncludeBreakPolicy()

setIncludeBreakPolicy($bool) 
Inherited

Parameters

$bool

setIncludeHolidayType()

setIncludeHolidayType($value) 
Inherited

Parameters

$value

setIncludeMealPolicy()

setIncludeMealPolicy($bool) 
Inherited

Parameters

$bool

setIncludePartialPunch()

setIncludePartialPunch($bool) 
Inherited

Parameters

$bool

setJob()

setJob($ids) 
Inherited

Parameters

$ids

setJobGroup()

setJobGroup($ids) 
Inherited

Parameters

$ids

setJobGroupSelectionType()

setJobGroupSelectionType($value) 
Inherited

Parameters

$value

setJobItem()

setJobItem($ids) 
Inherited

Parameters

$ids

setJobItemGroup()

setJobItemGroup($ids) 
Inherited

Parameters

$ids

setJobItemGroupSelectionType()

setJobItemGroupSelectionType($value) 
Inherited

Parameters

$value

setJobItemSelectionType()

setJobItemSelectionType($value) 
Inherited

Parameters

$value

setJobSelectionType()

setJobSelectionType($value) 
Inherited

Parameters

$value

setMaximumDailyTriggerTime()

setMaximumDailyTriggerTime($int) 
Inherited

Parameters

$int

setMaximumNoBreakTime()

setMaximumNoBreakTime($int) 
Inherited

Parameters

$int

setMaximumTime()

setMaximumTime($int) 
Inherited

Parameters

$int

setMaximumWeeklyTriggerTime()

setMaximumWeeklyTriggerTime($int) 
Inherited

Parameters

$int

setMinimumBreakTime()

setMinimumBreakTime($int) 
Inherited

Parameters

$int

setMinimumFirstShiftTime()

setMinimumFirstShiftTime($int) 
Inherited

Parameters

$int

setMinimumShiftTime()

setMinimumShiftTime($int) 
Inherited

Parameters

$int

setMinimumTime()

setMinimumTime($int) 
Inherited

Parameters

$int

setMinimumTimeBetweenShift()

setMinimumTimeBetweenShift($int) 
Inherited

Parameters

$int

setMon()

setMon($bool) 
Inherited

Parameters

$bool

setName()

setName($name) 
Inherited

Parameters

$name

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setPayCode()

setPayCode($id) 
Inherited

Parameters

$id

setPayFormulaPolicy()

setPayFormulaPolicy($id) 
Inherited

Parameters

$id

setPayType()

setPayType($value) 
Inherited

Parameters

$value

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setSat()

setSat($bool) 
Inherited

Parameters

$bool

setStartDate()

setStartDate($epoch) 
Inherited

Parameters

$epoch

setStartTime()

setStartTime($epoch) 
Inherited

Parameters

$epoch

setSun()

setSun($bool) 
Inherited

Parameters

$bool

setThu()

setThu($bool) 
Inherited

Parameters

$bool

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setTue()

setTue($bool) 
Inherited

Parameters

$bool

setType()

setType($value) 
Inherited

Parameters

$value

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setWed()

setWed($bool) 
Inherited

Parameters

$bool

setWeeklyTriggerTime()

setWeeklyTriggerTime($int) 
Inherited

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'