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

getAbsencePolicyID()

getAbsencePolicyID() 

getAbsencePolicyObject()

getAbsencePolicyObject() 

getAverageDays()

getAverageDays() 

getAverageTimeDays()

getAverageTimeDays() 

getAverageTimeWorkedDays()

getAverageTimeWorkedDays() 

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

getDateRangeSQL()

getDateRangeSQL($str, $column, $format = 'epoch', $include_blank_dates = FALSE
Inherited

Parameters

$str

$column

$format

$include_blank_dates

getDefaultScheduleStatus()

getDefaultScheduleStatus() 

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDescription()

getDescription() 

getEligibleContributingShiftPolicy()

getEligibleContributingShiftPolicy() 

getEligibleContributingShiftPolicyObject()

getEligibleContributingShiftPolicyObject() 

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getForceOverTimePolicy()

getForceOverTimePolicy() 

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

getIncludeOverTime()

getIncludeOverTime() 

getIncludePaidAbsenceTime()

getIncludePaidAbsenceTime() 

getIterator()

getIterator() 
Inherited

getLabelId()

getLabelId() 
Inherited

getMaximumTime()

getMaximumTime() 

getMinimumEmployedDays()

getMinimumEmployedDays() 

getMinimumTime()

getMinimumTime() 

getMinimumWorkedAfterDays()

getMinimumWorkedAfterDays() 

getMinimumWorkedAfterPeriodDays()

getMinimumWorkedAfterPeriodDays() 

getMinimumWorkedDays()

getMinimumWorkedDays() 

getMinimumWorkedPeriodDays()

getMinimumWorkedPeriodDays() 

getName()

getName() 

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

getObjectAsArray($include_columns = NULL

Parameters

$include_columns

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getPaidAbsenceAsWorked()

getPaidAbsenceAsWorked() 

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

getRecurringHoliday()

getRecurringHoliday() 

getRoundIntervalPolicyID()

getRoundIntervalPolicyID() 

getRoundIntervalPolicyObject()

getRoundIntervalPolicyObject() 

getSequenceName()

getSequenceName() 
Inherited

getShiftOnHolidayType()

getShiftOnHolidayType() 

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTransactionMode()

getTransactionMode() 
Inherited

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

getWorkedAfterScheduledDays()

getWorkedAfterScheduledDays() 

getWorkedScheduledDays()

getWorkedScheduledDays() 

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

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

setAbsencePolicyID()

setAbsencePolicyID($id) 

Parameters

$id

setAverageDays()

setAverageDays($int) 

Parameters

$int

setAverageTimeDays()

setAverageTimeDays($int) 

Parameters

$int

setAverageTimeWorkedDays()

setAverageTimeWorkedDays($bool) 

Parameters

$bool

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

setDefaultScheduleStatus()

setDefaultScheduleStatus($value) 

Parameters

$value

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setDescription()

setDescription($description) 

Parameters

$description

setEligibleContributingShiftPolicy()

setEligibleContributingShiftPolicy($id) 

Parameters

$id

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setForceOverTimePolicy()

setForceOverTimePolicy($bool) 

Parameters

$bool

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setIncludeOverTime()

setIncludeOverTime($bool) 

Parameters

$bool

setIncludePaidAbsenceTime()

setIncludePaidAbsenceTime($bool) 

Parameters

$bool

setMaximumTime()

setMaximumTime($int) 

Parameters

$int

setMinimumEmployedDays()

setMinimumEmployedDays($int) 

Parameters

$int

setMinimumTime()

setMinimumTime($int) 

Parameters

$int

setMinimumWorkedAfterDays()

setMinimumWorkedAfterDays($int) 

Parameters

$int

setMinimumWorkedAfterPeriodDays()

setMinimumWorkedAfterPeriodDays($int) 

Parameters

$int

setMinimumWorkedDays()

setMinimumWorkedDays($int) 

Parameters

$int

setMinimumWorkedPeriodDays()

setMinimumWorkedPeriodDays($int) 

Parameters

$int

setName()

setName($name) 

Parameters

$name

setObjectFromArray()

setObjectFromArray($data) 

Parameters

$data

setPaidAbsenceAsWorked()

setPaidAbsenceAsWorked($bool) 

Parameters

$bool

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setRecurringHoliday()

setRecurringHoliday($ids) 

Parameters

$ids

setRoundIntervalPolicyID()

setRoundIntervalPolicyID($id) 

Parameters

$id

setShiftOnHolidayType()

setShiftOnHolidayType($int) 

Parameters

$int

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setType()

setType($value) 

Parameters

$value

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setWorkedAfterScheduledDays()

setWorkedAfterScheduledDays($int) 

Parameters

$int

setWorkedScheduledDays()

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

$absence_policy_obj

$absence_policy_obj 

Default

NULL
 

$company_obj

$company_obj 

Default

NULL
 

$contributing_shift_policy_obj

$contributing_shift_policy_obj 

Default

NULL
 

$eligible_contributing_shift_policy_obj

$eligible_contributing_shift_policy_obj 

Default

NULL
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'holiday_policy_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$round_interval_policy_obj

$round_interval_policy_obj 

Default

NULL
 

$table

$table 

Default

'holiday_policy'