package Core
inherited_from \StationFactory

 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

checkAllowed()

checkAllowed($user_id = NULL, $station_id = NULL, $type = 10
Inherited

Parameters

$user_id

$station_id

$type

checkSource()

checkSource($source, $current_station_id) 
Inherited

Parameters

$source

$current_station_id

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

destroyCookie()

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

getAPITimeClockStationsByArrayCriteria()

getAPITimeClockStationsByArrayCriteria($filter_data, $limit = NULL, $page = NULL, $where = NULL, $order = NULL

Parameters

$filter_data

$limit

$page

$where

$order

getAll()

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

Parameters

$limit

$page

$where

$order

getAllowedDate()

getAllowedDate() 
Inherited

getBranch()

getBranch() 
Inherited

getBranchSelectionType()

getBranchSelectionType() 
Inherited

getByCompanyId()

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

Parameters

$id

$limit

$page

$where

$order

getByCompanyIdAndTypeId()

getByCompanyIdAndTypeId($company_id, $type_id, $order = NULL

Parameters

$company_id

$type_id

$order

getByCompanyIdArray()

getByCompanyIdArray($company_id) 

Parameters

$company_id

getById()

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

Parameters

$id

$where

$order

getByIdAndCompanyId()

getByIdAndCompanyId($id, $company_id, $order = NULL

Parameters

$id

$company_id

$order

getByStationId()

getByStationId($station_id, $order = NULL

Parameters

$station_id

$order

getByStationIdAndCompanyId()

getByStationIdAndCompanyId($station_id, $company_id, $order = NULL

Parameters

$station_id

$company_id

$order

getByStationIdAndStatusIdAndTypeId()

getByStationIdAndStatusIdAndTypeId($station_id, $status_id, $type_id, $order = NULL

Parameters

$station_id

$status_id

$type_id

$order

getByUserIdAndStatusAndType()

getByUserIdAndStatusAndType($user_id, $status, $type) 

Parameters

$user_id

$status

$type

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

getCountByCompanyIdAndTypeId()

getCountByCompanyIdAndTypeId($company_id, $type_id, $order = NULL

Parameters

$company_id

$type_id

$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

getDefaultBranch()

getDefaultBranch() 
Inherited

getDefaultDepartment()

getDefaultDepartment() 
Inherited

getDefaultJob()

getDefaultJob() 
Inherited

getDefaultJobItem()

getDefaultJobItem() 
Inherited

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

getEnableAutoPunchStatus()

getEnableAutoPunchStatus() 
Inherited

getEnableSystemLogDetail()

getEnableSystemLogDetail() 
Inherited

getExcludeUser()

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

getGroup()

getGroup() 
Inherited

getGroupSelectionType()

getGroupSelectionType() 
Inherited

getIDSByListFactory()

getIDSByListFactory($lf) 
Inherited

Parameters

$lf

getId()

getId() 
Inherited

getIncludeUser()

getIncludeUser() 
Inherited

getIterator()

getIterator() 
Inherited

getLabelId()

getLabelId() 
Inherited

getLastPartialPushDate()

getLastPartialPushDate() 
Inherited

getLastPartialPushStatusMessage()

getLastPartialPushStatusMessage() 
Inherited

getLastPollDate()

getLastPollDate() 
Inherited

getLastPollStatusMessage()

getLastPollStatusMessage() 
Inherited

getLastPunchTimeStamp()

getLastPunchTimeStamp($raw = FALSE
Inherited

Parameters

$raw

getLastPushDate()

getLastPushDate() 
Inherited

getLastPushStatusMessage()

getLastPushStatusMessage() 
Inherited

getModeFlag()

getModeFlag() 
Inherited

getNextInsertId()

getNextInsertId() 
Inherited

getObjectAsArray()

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

Parameters

$include_columns

$permission_children_ids

getOptions()

getOptions($name, $parent = NULL
Inherited

Parameters

$name

$parent

getOrCreateStation()

getOrCreateStation($station_id, $company_id, $type_id = 10, $permission_obj = NULL, $user_obj = NULL
InheritedStatic

Parameters

$station_id

$company_id

$type_id

$permission_obj

$user_obj

getPartialPushFrequency()

getPartialPushFrequency() 
Inherited

getPassword()

getPassword() 
Inherited

getPendingSynchronizationByCompanyIdAndTypeId()

getPendingSynchronizationByCompanyIdAndTypeId($company_id, $type_id, $order = NULL

Parameters

$company_id

$type_id

$order

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

getPollFrequency()

getPollFrequency() 
Inherited

getPort()

getPort() 
Inherited

getProgressBarObject()

getProgressBarObject() 
Inherited

getPushFrequency()

getPushFrequency() 
Inherited

getRecordCount()

getRecordCount() 
Inherited

getSequenceName()

getSequenceName() 
Inherited

getSource()

getSource() 
Inherited

getStation()

getStation() 
Inherited

getStatus()

getStatus() 
Inherited

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTimeZone()

getTimeZone() 
Inherited

getTransactionMode()

getTransactionMode() 
Inherited

getType()

getType() 
Inherited

getUpdatedBy()

getUpdatedBy() 
Inherited

getUpdatedDate()

getUpdatedDate() 
Inherited

getUserName()

getUserName() 
Inherited

getUserValue1()

getUserValue1() 
Inherited

getUserValue2()

getUserValue2() 
Inherited

getUserValue3()

getUserValue3() 
Inherited

getUserValue4()

getUserValue4() 
Inherited

getUserValue5()

getUserValue5() 
Inherited

getValidSQLColumns()

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

Parameters

$array

$strict

$additional_fields

getVariableToFunctionMap()

getVariableToFunctionMap($data = NULL
Inherited

Parameters

$data

isActiveForAnyEmployee()

isActiveForAnyEmployee() 
Inherited

isAllowed()

isAllowed($user_id = NULL, $current_station_id = NULL, $id = NULL
Inherited

Parameters

$user_id

$current_station_id

$id

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isSave()

isSave() 
Inherited

isUniqueStation()

isUniqueStation($station) 
Inherited

Parameters

$station

isValid()

isValid($ignore_warning = TRUE
Inherited

Parameters

$ignore_warning

isWarning()

isWarning() 
Inherited

parseWorkCode()

parseWorkCode($work_code) 
Inherited

Parameters

$work_code

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

setAllowedDate()

setAllowedDate($epoch = NULL
Inherited

Parameters

$epoch

setBranch()

setBranch($ids) 
Inherited

Parameters

$ids

setBranchSelectionType()

setBranchSelectionType($value) 
Inherited

Parameters

$value

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

setCompany()

setCompany($id) 
Inherited

Parameters

$id

setCookie()

setCookie() 
Inherited

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

setDefaultBranch()

setDefaultBranch($id) 
Inherited

Parameters

$id

setDefaultDepartment()

setDefaultDepartment($id) 
Inherited

Parameters

$id

setDefaultJob()

setDefaultJob($id) 
Inherited

Parameters

$id

setDefaultJobItem()

setDefaultJobItem($id) 
Inherited

Parameters

$id

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

setEnableAutoPunchStatus()

setEnableAutoPunchStatus($bool) 
Inherited

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setExcludeUser()

setExcludeUser($ids) 
Inherited

Parameters

$ids

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setGroup()

setGroup($ids) 
Inherited

Parameters

$ids

setGroupSelectionType()

setGroupSelectionType($value) 
Inherited

Parameters

$value

setId()

setId($id) 
Inherited

Parameters

$id

setIncludeUser()

setIncludeUser($ids) 
Inherited

Parameters

$ids

setLastPartialPushDate()

setLastPartialPushDate($epoch = NULL
Inherited

Parameters

$epoch

setLastPartialPushStatusMessage()

setLastPartialPushStatusMessage($value) 
Inherited

Parameters

$value

setLastPollDate()

setLastPollDate($epoch = NULL
Inherited

Parameters

$epoch

setLastPollStatusMessage()

setLastPollStatusMessage($value) 
Inherited

Parameters

$value

setLastPunchTimeStamp()

setLastPunchTimeStamp($epoch = NULL
Inherited

Parameters

$epoch

setLastPushDate()

setLastPushDate($epoch = NULL
Inherited

Parameters

$epoch

setLastPushStatusMessage()

setLastPushStatusMessage($value) 
Inherited

Parameters

$value

setModeFlag()

setModeFlag($arr) 
Inherited

Parameters

$arr

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setPartialPushFrequency()

setPartialPushFrequency($value) 
Inherited

Parameters

$value

setPassword()

setPassword($value) 
Inherited

Parameters

$value

setPollFrequency()

setPollFrequency($value) 
Inherited

Parameters

$value

setPort()

setPort($value) 
Inherited

Parameters

$value

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setPushFrequency()

setPushFrequency($value) 
Inherited

Parameters

$value

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setSource()

setSource($source) 
Inherited

Parameters

$source

setStation()

setStation($station_id = NULL
Inherited

Parameters

$station_id

setStatus()

setStatus($status) 
Inherited

Parameters

$status

setTimeZone()

setTimeZone($time_zone) 
Inherited

Parameters

$time_zone

setTransactionMode()

setTransactionMode($mode = ''
Inherited

Parameters

$mode

setType()

setType($type) 
Inherited

Parameters

$type

setUpdatedBy()

setUpdatedBy($id = NULL
Inherited

Parameters

$id

setUpdatedDate()

setUpdatedDate($epoch = NULL
Inherited

Parameters

$epoch

setUserName()

setUserName($value) 
Inherited

Parameters

$value

setUserValue1()

setUserValue1($value) 
Inherited

Parameters

$value

setUserValue2()

setUserValue2($value) 
Inherited

Parameters

$value

setUserValue3()

setUserValue3($value) 
Inherited

Parameters

$value

setUserValue4()

setUserValue4($value) 
Inherited

Parameters

$value

setUserValue5()

setUserValue5($value) 
Inherited

Parameters

$value

toBool()

toBool($value) 
Inherited

Parameters

$value

unserializeRS()

unserializeRS($rs) 
Inherited

Parameters

$rs

updateAllowedDate()

updateAllowedDate($id, $user_id) 
Inherited

Parameters

$id

$user_id

updateLastPartialPushDate()

updateLastPartialPushDate($id, $last_partial_push_date = 0
Inherited

Parameters

$id

$last_partial_push_date

updateLastPollDate()

updateLastPollDate($id, $last_poll_date = 0
Inherited

Parameters

$id

$last_poll_date

updateLastPollDateAndLastPunchTimeStamp()

updateLastPollDateAndLastPunchTimeStamp($id, $last_poll_date = 0, $last_punch_date = 0
Inherited

Parameters

$id

$last_poll_date

$last_punch_date

updateLastPushDate()

updateLastPushDate($id, $last_push_date = 0
Inherited

Parameters

$id

$last_push_date

_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

genStationID()

genStationID() 
Inherited

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
 

$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

'station_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'station'