package Modules\Schedule
inherited_from \ScheduleFactory

 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

addPunchFromScheduleObject()

addPunchFromScheduleObject($rs_obj) 
InheritedStatic

Parameters

$rs_obj

bulkDelete()

bulkDelete($ids) 
Inherited

Parameters

$ids

calcRawTotalTime()

calcRawTotalTime() 
Inherited

calcTotalTime()

calcTotalTime() 
Inherited

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

findUserDate()

findUserDate() 
Inherited

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

getAbsencePolicyID()

getAbsencePolicyID() 
Inherited

getAbsencePolicyObject()

getAbsencePolicyObject() 
Inherited

getAll()

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

Parameters

$limit

$page

$where

$order

getBranch()

getBranch() 
Inherited

getBranchObject()

getBranchObject() 
Inherited

getBreakPolicyDeductTime()

getBreakPolicyDeductTime($day_total_time, $filter_type_id = FALSE
Inherited

Parameters

$day_total_time

$filter_type_id

getByCompanyID()

getByCompanyID($company_id, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$company_id

$limit

$page

$where

$order

getByCompanyIDAndId()

getByCompanyIDAndId($company_id, $id) 

Parameters

$company_id

$id

getById()

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

Parameters

$id

$where

$order

getByIdAndCompanyId()

getByIdAndCompanyId($id, $company_id) 

Parameters

$id

$company_id

getByUserIdAndDateStamp()

getByUserIdAndDateStamp($user_id, $date_stamp, $where = NULL, $order = NULL

Parameters

$user_id

$date_stamp

$where

$order

getByUserIdAndDateStampAndStatus()

getByUserIdAndDateStampAndStatus($user_id, $date_stamp, $status_id, $where = NULL, $order = NULL

Parameters

$user_id

$date_stamp

$status_id

$where

$order

getByUserIdAndStartDateAndEndDate()

getByUserIdAndStartDateAndEndDate($user_id, $start_date, $end_date, $where = NULL, $order = NULL

Parameters

$user_id

$start_date

$end_date

$where

$order

getByUserIdAndTypeAndDirectionFromDate()

getByUserIdAndTypeAndDirectionFromDate($user_id, $type_id, $direction, $date, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$user_id

$type_id

$direction

$date

$limit

$page

$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

getConflictingByUserIdAndStartDateAndEndDate()

getConflictingByUserIdAndStartDateAndEndDate($user_id, $start_date, $end_date, $id = NULL, $where = NULL, $order = NULL

Parameters

$user_id

$start_date

$end_date

$id

$where

$order

getConflictingOpenShiftSchedule()

getConflictingOpenShiftSchedule($company_id, $start_time, $end_time, $branch_id, $department_id, $job_id, $job_item_id, $replaced_id = 0, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$company_id

$start_time

$end_time

$branch_id

$department_id

$job_id

$job_item_id

$replaced_id

$limit

$page

$where

$order

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

getDateStamp()

getDateStamp($raw = FALSE
Inherited

Parameters

$raw

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDepartment()

getDepartment() 
Inherited

getDepartmentObject()

getDepartmentObject() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableOverwrite()

getEnableOverwrite() 
Inherited

getEnableReCalculateDay()

getEnableReCalculateDay() 
Inherited

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getEnableTimeSheetVerificationCheck()

getEnableTimeSheetVerificationCheck() 
Inherited

getEndTime()

getEndTime($raw = FALSE
Inherited

Parameters

$raw

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

getJob()

getJob() 
Inherited

getJobItem()

getJobItem() 
Inherited

getLabelId()

getLabelId() 
Inherited

getMealPolicyDeductTime()

getMealPolicyDeductTime($day_total_time, $filter_type_id = FALSE
Inherited

Parameters

$day_total_time

$filter_type_id

getMostCommonScheduleDataByCompanyIdAndUserAndStartDateAndEndDate()

getMostCommonScheduleDataByCompanyIdAndUserAndStartDateAndEndDate($company_id, $user_id, $start_date, $end_date) 

Parameters

$company_id

$user_id

$start_date

$end_date

getNextInsertId()

getNextInsertId() 
Inherited

getNote()

getNote() 
Inherited

getObjectAsArray()

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

Parameters

$include_columns

$permission_children_ids

getOldDateStamp()

getOldDateStamp() 
Inherited

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getOtherID1()

getOtherID1() 
Inherited

getOtherID2()

getOtherID2() 
Inherited

getOtherID3()

getOtherID3() 
Inherited

getOtherID4()

getOtherID4() 
Inherited

getOtherID5()

getOtherID5() 
Inherited

getOverriddenOpenShiftRecurringSchedules()

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

Parameters

$company_id

$filter_data

$limit

$page

$where

$order

getPayPeriod()

getPayPeriod() 
Inherited

getPayPeriodObject()

getPayPeriodObject() 
Inherited

getPayPeriodScheduleObject()

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

getRecurringScheduleTemplateControl()

getRecurringScheduleTemplateControl() 
Inherited

getReplacedId()

getReplacedId() 
Inherited

getSchedule()

getSchedule($filter_data, $start_week_day = 0, $group_schedule = FALSE
Inherited

Parameters

$filter_data

$start_week_day

$group_schedule

getScheduleArray()

getScheduleArray($filter_data) 
Inherited

Parameters

$filter_data

getScheduleObjectByUserIdAndEpoch()

getScheduleObjectByUserIdAndEpoch($user_id, $epoch) 

Parameters

$user_id

$epoch

getSchedulePolicyID()

getSchedulePolicyID() 
Inherited

getSchedulePolicyObject()

getSchedulePolicyObject() 
Inherited

getSearchByCompanyIdAndArrayCriteria()

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

Parameters

$company_id

$filter_data

$limit

$page

$where

$order

getSequenceName()

getSequenceName() 
Inherited

getStartStopWindow()

getStartStopWindow() 
Inherited

getStartTime()

getStartTime($raw = FALSE
Inherited

Parameters

$raw

getStatus()

getStatus() 
Inherited

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTotalTime()

getTotalTime() 
Inherited

getTransactionMode()

getTransactionMode() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUser()

getUser() 
Inherited

getUserObject()

getUserObject() 
Inherited

getValidSQLColumns()

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

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

getWeekWorkTimeSumByUserIDAndEpochAndStartWeekEpoch()

getWeekWorkTimeSumByUserIDAndEpochAndStartWeekEpoch($user_id, $epoch, $week_start_epoch) 

Parameters

$user_id

$epoch

$week_start_epoch

handleDayBoundary()

handleDayBoundary() 
Inherited

inSchedule()

inSchedule($epoch) 
Inherited

Parameters

$epoch

inScheduleDifference()

inScheduleDifference($epoch, $status_id = FALSE
Inherited

Parameters

$epoch

$status_id

inStartWindow()

inStartWindow($epoch) 
Inherited

Parameters

$epoch

inStopWindow()

inStopWindow($epoch) 
Inherited

Parameters

$epoch

isConflicting()

isConflicting() 
Inherited

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

mergeScheduleArray()

mergeScheduleArray($schedule_shifts, $recurring_schedule_shifts) 
Inherited

Parameters

$schedule_shifts

$recurring_schedule_shifts

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

setAbsencePolicyID()

setAbsencePolicyID($id) 
Inherited

Parameters

$id

setBranch()

setBranch($id) 
Inherited

Parameters

$id

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCompany()

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

setDateStamp()

setDateStamp($epoch) 
Inherited

Parameters

$epoch

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setDepartment()

setDepartment($id) 
Inherited

Parameters

$id

setEnableOverwrite()

setEnableOverwrite($bool) 
Inherited

Parameters

$bool

setEnableReCalculateDay()

setEnableReCalculateDay($bool) 
Inherited

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setEnableTimeSheetVerificationCheck()

setEnableTimeSheetVerificationCheck($bool) 
Inherited

Parameters

$bool

setEndTime()

setEndTime($epoch) 
Inherited

Parameters

$epoch

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setJob()

setJob($id) 
Inherited

Parameters

$id

setJobItem()

setJobItem($id) 
Inherited

Parameters

$id

setNote()

setNote($val) 
Inherited

Parameters

$val

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setOldDateStamp()

setOldDateStamp($date_stamp) 
Inherited

Parameters

$date_stamp

setOtherID1()

setOtherID1($value) 
Inherited

Parameters

$value

setOtherID2()

setOtherID2($value) 
Inherited

Parameters

$value

setOtherID3()

setOtherID3($value) 
Inherited

Parameters

$value

setOtherID4()

setOtherID4($value) 
Inherited

Parameters

$value

setOtherID5()

setOtherID5($value) 
Inherited

Parameters

$value

setPayPeriod()

setPayPeriod($id = NULL
Inherited

Parameters

$id

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setRecurringScheduleTemplateControl()

setRecurringScheduleTemplateControl($id) 
Inherited

Parameters

$id

setReplacedId()

setReplacedId($id) 
Inherited

Parameters

$id

setSchedulePolicyID()

setSchedulePolicyID($id) 
Inherited

Parameters

$id

setStartTime()

setStartTime($epoch) 
Inherited

Parameters

$epoch

setStatus()

setStatus($status) 
Inherited

Parameters

$status

setTotalTime()

setTotalTime($int) 
Inherited

Parameters

$int

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setUser()

setUser($id) 
Inherited

Parameters

$id

toBool()

toBool($value) 
Inherited

Parameters

$value

unserializeRS()

unserializeRS($rs) 
Inherited

Parameters

$rs

writeWeekSchedule()

writeWeekSchedule($pdf, $cell_width, $week_date_stamps, $max_week_data, $left_margin, $group_schedule, $start_week_day = 0, $bottom_border = FALSE
Inherited

Parameters

$pdf

$cell_width

$week_date_stamps

$max_week_data

$left_margin

$group_schedule

$start_week_day

$bottom_border

_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
 

$branch_obj

$branch_obj 

Default

NULL
 

$department_obj

$department_obj 

Default

NULL
 

$enable_system_log_detail

$enable_system_log_detail 

Default

TRUE
 

$next_insert_id

$next_insert_id 

Default

NULL
 

$pay_period_schedule_obj

$pay_period_schedule_obj 

Default

NULL
 

$pk_sequence_name

$pk_sequence_name 

Default

'schedule_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$schedule_policy_obj

$schedule_policy_obj 

Default

NULL
 

$table

$table 

Default

'schedule'
 

$user_date_obj

$user_date_obj 

Default

NULL