InvoiceSumStatisticEntry extends StatisticEntryBase implements StatisticEntry
Table of Contents
Interfaces
Constants
- TYPE_NAME = 'INVOICE_SUM_STATS'
Methods
- getAll() : array<string|int, mixed>
- Get all.
- getBindingInfos() : array<string|int, mixed>
- Get binding infos.
- getBusySlotCount() : int
- Get count of busy slots.
- getCurrent() : InvoiceSumStatisticEntry
- Get current instance.
- getEntityTypeID() : string
- Get entity type ID.
- getLatest() : array<string|int, mixed>
- Get latest.
- getSlotBindingMap() : StatisticFieldBindingMap
- Get binding map.
- getSlotFieldInfos() : array<string|int, mixed>
- Get fields data.
- getSlotInfos() : array<string|int, mixed>
- Get slots data.
- getTypeName() : string
- Get entry type name.
- isRegistered() : bool
- Check if entity is registered.
- isValid() : bool
- Check if entry is valid.
- nullSafeCompareDates() : int
- Compare two dates by Unix timestamp in a null safe way. A NULL is treated as zero timestamp.
- parseDateString() : string|null
- Parse date from string.
- prepareBuilderData() : array<string|int, mixed>
- Prepare builder data.
- prepareSlotBingingData() : array<string|int, mixed>
- Prepare binging data.
- register() : void
- Register Entity.
- setSlotBindingMap() : void
- Set binding map.
- unregister() : void
- Unregister Entity.
Constants
TYPE_NAME
public
mixed
TYPE_NAME
= 'INVOICE_SUM_STATS'
Methods
getAll()
Get all.
public
static getAll(int $ownerID) : array<string|int, mixed>
Parameters
- $ownerID : int
-
Owner ID.
Return values
array<string|int, mixed>getBindingInfos()
Get binding infos.
public
static getBindingInfos() : array<string|int, mixed>
Return values
array<string|int, mixed>getBusySlotCount()
Get count of busy slots.
public
getBusySlotCount() : int
Return values
intgetCurrent()
Get current instance.
public
static getCurrent() : InvoiceSumStatisticEntry
Return values
InvoiceSumStatisticEntrygetEntityTypeID()
Get entity type ID.
public
getEntityTypeID() : string
Return values
stringgetLatest()
Get latest.
public
static getLatest(int $ownerID) : array<string|int, mixed>
Parameters
- $ownerID : int
-
Owner ID.
Return values
array<string|int, mixed>getSlotBindingMap()
Get binding map.
public
getSlotBindingMap() : StatisticFieldBindingMap
Return values
StatisticFieldBindingMapgetSlotFieldInfos()
Get fields data.
public
getSlotFieldInfos([string $langID = '' ]) : array<string|int, mixed>
Parameters
- $langID : string = ''
-
Language ID.
Return values
array<string|int, mixed>getSlotInfos()
Get slots data.
public
getSlotInfos() : array<string|int, mixed>
Return values
array<string|int, mixed>getTypeName()
Get entry type name.
public
getTypeName() : string
Return values
stringisRegistered()
Check if entity is registered.
public
static isRegistered(int $ownerID) : bool
Parameters
- $ownerID : int
-
Owner ID.
Return values
boolisValid()
Check if entry is valid.
public
isValid() : bool
Return values
boolnullSafeCompareDates()
Compare two dates by Unix timestamp in a null safe way. A NULL is treated as zero timestamp.
public
static nullSafeCompareDates([Date|null $first = null ][, Date|null $second = null ]) : int
Return a value less than 0 if this first date is before second. Return 0 if they are equal. Return a value greater than 0 if this first date is after second.
Parameters
Return values
intparseDateString()
Parse date from string.
public
static parseDateString(string $str) : string|null
Parameters
- $str : string
-
Source string.
Return values
string|nullprepareBuilderData()
Prepare builder data.
public
prepareBuilderData() : array<string|int, mixed>
Return values
array<string|int, mixed>prepareSlotBingingData()
Prepare binging data.
public
prepareSlotBingingData() : array<string|int, mixed>
Return values
array<string|int, mixed>register()
Register Entity.
public
static register(int $ownerID[, array<string|int, mixed>|null $entityFields = null ][, array<string|int, mixed>|null $options = null ]) : void
Parameters
- $ownerID : int
-
Owner ID.
- $entityFields : array<string|int, mixed>|null = null
-
Entity fields.
- $options : array<string|int, mixed>|null = null
-
Operation options.
Tags
setSlotBindingMap()
Set binding map.
public
setSlotBindingMap(StatisticFieldBindingMap $srcBindingMap) : void
Parameters
- $srcBindingMap : StatisticFieldBindingMap
-
Binding map.
unregister()
Unregister Entity.
public
static unregister(int $ownerID) : void
Parameters
- $ownerID : int
-
Owner ID.