CounterSettings uses Singleton
Table of Contents
Methods
- __wakeup() : mixed
- canBeCounted() : bool
- cleanCounterLimitCache() : void
- getCounterCurrentValue() : int
- getCounterLimitValue() : int
- getInstance() : static
- isCounterCurrentValueExceeded() : int
- isEnabled() : bool
- setUseActivityResponsible() : void
- useActivityResponsible() : bool
Methods
__wakeup()
public
__wakeup() : mixed
canBeCounted()
public
canBeCounted() : bool
Return values
boolcleanCounterLimitCache()
public
cleanCounterLimitCache() : void
getCounterCurrentValue()
public
getCounterCurrentValue() : int
Return values
intgetCounterLimitValue()
public
getCounterLimitValue() : int
Return values
intgetInstance()
public
static getInstance() : static
Return values
staticisCounterCurrentValueExceeded()
public
isCounterCurrentValueExceeded(int $limit) : int
Parameters
- $limit : int
Return values
intisEnabled()
public
isEnabled() : bool
Return values
boolsetUseActivityResponsible()
public
setUseActivityResponsible(bool $val) : void
Parameters
- $val : bool
useActivityResponsible()
public
useActivityResponsible() : bool