package Modules\Users
inherited_from \UserPreferenceFactory

 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

checkScheduleICalendarKey()

checkScheduleICalendarKey($key) 
Inherited

Parameters

$key

clearData()

clearData() 
Inherited

clearGeoCode()

clearGeoCode($data_diff = NULL
Inherited

Parameters

$data_diff

convertFlexArray()

convertFlexArray($array) 
Inherited

Parameters

$array

convertMetersToDistance()

convertMetersToDistance($meters, $format = NULL
Inherited

Parameters

$meters

$format

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

getByCompanyId()

getByCompanyId($company_id, $order = NULL

Parameters

$company_id

$order

getByCompanyIdAndDateAndValidUserIDs()

getByCompanyIdAndDateAndValidUserIDs($company_id, $date = NULL, $valid_user_ids = array(), $order = NULL

Parameters

$company_id

$date

$valid_user_ids

$order

getById()

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

Parameters

$id

$where

$order

getByIdAndCompanyId()

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

Parameters

$id

$company_id

$order

getByUserIDAndCompanyID()

getByUserIDAndCompanyID($id, $company_id, $where = NULL, $order = NULL

Parameters

$id

$company_id

$where

$order

getByUserId()

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

Parameters

$id

$where

$order

getByUserIdAndStatus()

getByUserIdAndStatus($id, $status_id = 10, $where = NULL, $order = NULL

Parameters

$id

$status_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

getCompanyGenericMapData()

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

Parameters

$company_id

$object_type_id

$id

$variable

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

getDateFormat()

getDateFormat() 
Inherited

getDateFormatExample()

getDateFormatExample() 
Inherited

getDateRangeSQL()

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

Parameters

$str

$column

$format

$include_blank_dates

getDefaultLoginScreen()

getDefaultLoginScreen() 
Inherited

getDeleted()

getDeleted() 
Inherited

getDeletedBy()

getDeletedBy() 
Inherited

getDeletedDate()

getDeletedDate() 
Inherited

getDistanceFormat()

getDistanceFormat() 
Inherited

getEmptyRecordSet()

getEmptyRecordSet($id = NULL
Inherited

Parameters

$id

getEnableAlwaysBlankTimeSheetRows()

getEnableAlwaysBlankTimeSheetRows() 
Inherited

getEnableAutoContextMenu()

getEnableAutoContextMenu() 
Inherited

getEnableEmailNotificationException()

getEnableEmailNotificationException() 
Inherited

getEnableEmailNotificationHome()

getEnableEmailNotificationHome() 
Inherited

getEnableEmailNotificationMessage()

getEnableEmailNotificationMessage() 
Inherited

getEnableEmailNotificationPayStub()

getEnableEmailNotificationPayStub() 
Inherited

getEnableReportOpenNewWindow()

getEnableReportOpenNewWindow() 
Inherited

getEnableSaveTimesheetState()

getEnableSaveTimesheetState() 
Inherited

getEnableSystemLogDetail()

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

getIsModifiedByCompanyIdAndDate()

getIsModifiedByCompanyIdAndDate($company_id, $date, $where = NULL, $order = NULL

Parameters

$company_id

$date

$where

$order

getItemsPerPage()

getItemsPerPage() 
Inherited

getIterator()

getIterator() 
Inherited

getJSDateFormat()

getJSDateFormat() 
Inherited

getJSTimeFormat()

getJSTimeFormat() 
Inherited

getLabelId()

getLabelId() 
Inherited

getLanguage()

getLanguage() 
Inherited

getLocationTimeZone()

getLocationTimeZone($country, $province, $work_phone = FALSE, $home_phone = FALSE, $default = FALSE
Inherited

Parameters

$country

$province

$work_phone

$home_phone

$default

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

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

getScheduleIcalendarAlarm1Absence()

getScheduleIcalendarAlarm1Absence() 
Inherited

getScheduleIcalendarAlarm1Modified()

getScheduleIcalendarAlarm1Modified() 
Inherited

getScheduleIcalendarAlarm1Working()

getScheduleIcalendarAlarm1Working() 
Inherited

getScheduleIcalendarAlarm2Absence()

getScheduleIcalendarAlarm2Absence() 
Inherited

getScheduleIcalendarAlarm2Modified()

getScheduleIcalendarAlarm2Modified() 
Inherited

getScheduleIcalendarAlarm2Working()

getScheduleIcalendarAlarm2Working() 
Inherited

getScheduleIcalendarEventName()

getScheduleIcalendarEventName() 
Inherited

getScheduleIcalendarKey()

getScheduleIcalendarKey() 
Inherited

getScheduleIcalendarType()

getScheduleIcalendarType() 
Inherited

getScheduleIcalendarURL()

getScheduleIcalendarURL($user_name = NULL, $type_id = NULL
Inherited

Parameters

$user_name

$type_id

getSequenceName()

getSequenceName() 
Inherited

getShortcutKeySequence()

getShortcutKeySequence() 
Inherited

getStartWeekDay()

getStartWeekDay() 
Inherited

getTable()

getTable($strip_quotes = FALSE
Inherited

Parameters

$strip_quotes

getTimeFormat()

getTimeFormat() 
Inherited

getTimeFormatExample()

getTimeFormatExample() 
Inherited

getTimeSheetView()

getTimeSheetView() 
Inherited

getTimeUnitFormat()

getTimeUnitFormat() 
Inherited

getTimeUnitFormatExample()

getTimeUnitFormatExample() 
Inherited

getTimeZone()

getTimeZone() 
Inherited

getTransactionMode()

getTransactionMode() 
Inherited

getUniqueLanguageByCompanyId()

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

Parameters

$id

$where

$order

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

isNew()

isNew($force_lookup = FALSE
Inherited

Parameters

$force_lookup

isPreferencesComplete()

isPreferencesComplete() 
Inherited

isSave()

isSave() 
Inherited

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

setCacheLifeTime()

setCacheLifeTime($secs) 
Inherited

Parameters

$secs

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

setDateFormat()

setDateFormat($date_format) 
Inherited

Parameters

$date_format

setDateTimePreferences()

setDateTimePreferences() 
Inherited

setDefaultLoginScreen()

setDefaultLoginScreen($value) 
Inherited

Parameters

$value

setDeleted()

setDeleted($bool) 
Inherited

Parameters

$bool

setDeletedBy()

setDeletedBy($id = NULL
Inherited

Parameters

$id

setDeletedDate()

setDeletedDate($epoch = NULL
Inherited

Parameters

$epoch

setDistanceFormat()

setDistanceFormat($distance_format) 
Inherited

Parameters

$distance_format

setEnableAlwaysBlankTimeSheetRows()

setEnableAlwaysBlankTimeSheetRows($bool) 
Inherited

Parameters

$bool

setEnableAutoContextMenu()

setEnableAutoContextMenu($bool) 
Inherited

Parameters

$bool

setEnableEmailNotificationException()

setEnableEmailNotificationException($bool) 
Inherited

Parameters

$bool

setEnableEmailNotificationHome()

setEnableEmailNotificationHome($bool) 
Inherited

Parameters

$bool

setEnableEmailNotificationMessage()

setEnableEmailNotificationMessage($bool) 
Inherited

Parameters

$bool

setEnableEmailNotificationPayStub()

setEnableEmailNotificationPayStub($bool) 
Inherited

Parameters

$bool

setEnableReportOpenNewWindow()

setEnableReportOpenNewWindow($bool) 
Inherited

Parameters

$bool

setEnableSaveTimesheetState()

setEnableSaveTimesheetState($bool) 
Inherited

Parameters

$bool

setEnableSystemLogDetail()

setEnableSystemLogDetail($bool) 
Inherited

Parameters

$bool

setGenericObject()

setGenericObject($obj, $variable) 
Inherited

Parameters

$obj

$variable

setId()

setId($id) 
Inherited

Parameters

$id

setItemsPerPage()

setItemsPerPage($items_per_page) 
Inherited

Parameters

$items_per_page

setLanguage()

setLanguage($value) 
Inherited

Parameters

$value

setObjectFromArray()

setObjectFromArray($data) 
Inherited

Parameters

$data

setProgressBarObject()

setProgressBarObject($obj) 
Inherited

Parameters

$obj

setQueryStatementTimeout()

setQueryStatementTimeout($milliseconds = NULL
Inherited

Parameters

$milliseconds

setScheduleIcalendarAlarm1Absence()

setScheduleIcalendarAlarm1Absence($int) 
Inherited

Parameters

$int

setScheduleIcalendarAlarm1Modified()

setScheduleIcalendarAlarm1Modified($int) 
Inherited

Parameters

$int

setScheduleIcalendarAlarm1Working()

setScheduleIcalendarAlarm1Working($int) 
Inherited

Parameters

$int

setScheduleIcalendarAlarm2Absence()

setScheduleIcalendarAlarm2Absence($int) 
Inherited

Parameters

$int

setScheduleIcalendarAlarm2Modified()

setScheduleIcalendarAlarm2Modified($int) 
Inherited

Parameters

$int

setScheduleIcalendarAlarm2Working()

setScheduleIcalendarAlarm2Working($int) 
Inherited

Parameters

$int

setScheduleIcalendarEventName()

setScheduleIcalendarEventName($bool) 
Inherited

Parameters

$bool

setScheduleIcalendarType()

setScheduleIcalendarType($type) 
Inherited

Parameters

$type

setShortcutKeySequence()

setShortcutKeySequence($value) 
Inherited

Parameters

$value

setStartWeekDay()

setStartWeekDay($value) 
Inherited

Parameters

$value

setTimeFormat()

setTimeFormat($time_format) 
Inherited

Parameters

$time_format

setTimeSheetView()

setTimeSheetView($value) 
Inherited

Parameters

$value

setTimeUnitFormat()

setTimeUnitFormat($time_unit_format) 
Inherited

Parameters

$time_unit_format

setTimeZone()

setTimeZone($time_zone) 
Inherited

Parameters

$time_zone

setTimeZonePreferences()

setTimeZonePreferences() 
Inherited

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

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

$user_obj

$user_obj 

Default

NULL
 

$validate_only

$validate_only 

Default

FALSE
 

$AMF_message_id

$AMF_message_id 

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

'user_preference_id_seq'
 

$progress_bar_obj

$progress_bar_obj 

Default

NULL
 

$table

$table 

Default

'user_preference'