Bitrix API

InvoiceSumStatisticEntry extends StatisticEntryBase implements StatisticEntry

Table of Contents

Interfaces

StatisticEntry

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

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>

getLatest()

Get latest.

public static getLatest(int $ownerID) : array<string|int, mixed>
Parameters
$ownerID : int

Owner ID.

Return values
array<string|int, mixed>

getSlotFieldInfos()

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>

isRegistered()

Check if entity is registered.

public static isRegistered(int $ownerID) : bool
Parameters
$ownerID : int

Owner ID.

Return values
bool

nullSafeCompareDates()

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
$first : Date|null = null

First date.

$second : Date|null = null

Second date.

Return values
int

parseDateString()

Parse date from string.

public static parseDateString(string $str) : string|null
Parameters
$str : string

Source string.

Return values
string|null

prepareBuilderData()

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
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentTypeException

unregister()

Unregister Entity.

public static unregister(int $ownerID) : void
Parameters
$ownerID : int

Owner ID.


        
On this page

Search results