AutoSearchUserSettings
extends EO_AutosearchUserSettings
Table of Contents
Constants
-
DEFAULT_EXEC_INTERVAL
= 1
-
MERGE_ACTIVITY_TIMEOUT
= 120
-
STATUS_CONFLICTS_RESOLVING
= 5
-
STATUS_INDEX_REBUILDING
= 2
-
STATUS_MERGING
= 4
-
STATUS_NEW
= 1
-
STATUS_READY_TO_MERGE
= 3
Methods
-
calcAndSetNextExecTime()
: mixed
-
canShowNotification()
: bool
-
createDisabledIfNotExists()
: void
-
createIfNotExists()
: void
-
getForUserByEntityType()
: AutoSearchUserSettings
-
hasAccess()
: bool
-
isEnabled()
: bool
-
setExecInterval()
: self
-
setStatusId()
: self
-
tryToSetMergeId()
: bool
DEFAULT_EXEC_INTERVAL
public
mixed
DEFAULT_EXEC_INTERVAL
= 1
MERGE_ACTIVITY_TIMEOUT
public
mixed
MERGE_ACTIVITY_TIMEOUT
= 120
STATUS_CONFLICTS_RESOLVING
public
mixed
STATUS_CONFLICTS_RESOLVING
= 5
STATUS_INDEX_REBUILDING
public
mixed
STATUS_INDEX_REBUILDING
= 2
STATUS_MERGING
public
mixed
STATUS_MERGING
= 4
STATUS_NEW
public
mixed
STATUS_NEW
= 1
STATUS_READY_TO_MERGE
public
mixed
STATUS_READY_TO_MERGE
= 3
calcAndSetNextExecTime()
public
calcAndSetNextExecTime() : mixed
canShowNotification()
public
canShowNotification() : bool
createDisabledIfNotExists()
public
createDisabledIfNotExists() : void
createIfNotExists()
public
createIfNotExists([int $execInterval = self::DEFAULT_EXEC_INTERVAL ]) : void
Parameters
-
$execInterval
: int
= self::DEFAULT_EXEC_INTERVAL
-
getForUserByEntityType()
public
static getForUserByEntityType(int $entityTypeId[, int $userId = null ]) : AutoSearchUserSettings
Parameters
-
$entityTypeId
: int
-
-
$userId
: int
= null
-
hasAccess()
public
static hasAccess(int $entityTypeId[, int $userId = null ]) : bool
Parameters
-
$entityTypeId
: int
-
-
$userId
: int
= null
-
isEnabled()
public
static isEnabled() : bool
setExecInterval()
public
setExecInterval(int $interval) : self
Parameters
-
$interval
: int
-
setStatusId()
public
setStatusId(mixed $statusId) : self
Parameters
-
$statusId
: mixed
-
tryToSetMergeId()
public
tryToSetMergeId(string $mergeId) : bool
Parameters
-
$mergeId
: string
-