Bitrix API

IReportMultipleBiGroupedData extends IReportData

Interface IReportMultipleBiGroupedData

Table of Contents

Methods

getMultipleBiGroupedData()  : array<string|int, mixed>
Array format for return this method:<br> array( 'items' => array( array( 'firstGroupId' => 1, 'secondGroupId' => 2, 'title' => 'Some Title', 'value' => 1, 'targetUrl' => 'http://url.domain?params=param' ), array( 'firstGroupId' => 1, 'secondGroupId' => 2, 'title' => 'Some Title', 'value' => 2, 'targetUrl' => 'http://url.domain?params=param' ) ), 'config' => array( 'firstGroupLabelsMap' => array( '1' => array( 'name' => 'Monday', 'params' => array() ), '2' => array( 'name' => 'Second Day of week', 'params' => array() ), ), 'secondGroupLabelsMap' => array( '01.01.1970' => array( 'name' => 'Start of our internet evolution', 'params' => array() ), '15' => array( 'name' => 'Just a simple integer', 'params' => array() ), ), 'reportTitle' => 'Some title for this report' ) )
getMultipleBiGroupedDemoData()  : mixed
prepare()  : mixed
Called every time when calculate some report result before passing some concrete handler, such us getMultipleData or getSingleData.

Methods

getMultipleBiGroupedData()

Array format for return this method:<br> array( 'items' => array( array( 'firstGroupId' => 1, 'secondGroupId' => 2, 'title' => 'Some Title', 'value' => 1, 'targetUrl' => 'http://url.domain?params=param' ), array( 'firstGroupId' => 1, 'secondGroupId' => 2, 'title' => 'Some Title', 'value' => 2, 'targetUrl' => 'http://url.domain?params=param' ) ), 'config' => array( 'firstGroupLabelsMap' => array( '1' => array( 'name' => 'Monday', 'params' => array() ), '2' => array( 'name' => 'Second Day of week', 'params' => array() ), ), 'secondGroupLabelsMap' => array( '01.01.1970' => array( 'name' => 'Start of our internet evolution', 'params' => array() ), '15' => array( 'name' => 'Just a simple integer', 'params' => array() ), ), 'reportTitle' => 'Some title for this report' ) )

public getMultipleBiGroupedData() : array<string|int, mixed>
Return values
array<string|int, mixed>

prepare()

Called every time when calculate some report result before passing some concrete handler, such us getMultipleData or getSingleData.

public prepare() : mixed

Here you can get result of configuration fields of report, if report in widget you can get configurations of widget.


        
On this page

Search results