Bitrix API

IReportMultipleGroupedData extends IReportData

Interface IReportMultipleGroupedData

Table of Contents

Methods

getMultipleGroupedData()  : array<string|int, mixed>
Array format for return this method:<br> array( 'items' => array( array( 'groupBy' => 01.01.1970 or 15 etc.
getMultipleGroupedDemoData()  : array<string|int, mixed>
prepare()  : mixed
Called every time when calculate some report result before passing some concrete handler, such us getMultipleData or getSingleData.

Methods

getMultipleGroupedData()

Array format for return this method:<br> array( 'items' => array( array( 'groupBy' => 01.01.1970 or 15 etc.

public getMultipleGroupedData() : array<string|int, mixed>

'title' => 'Some Title', 'value' => 1, 'targetUrl' => 'http://url.domain?params=param' ), array( 'groupBy' => 01.01.1970 or 15 etc. 'title' => 'Some Title', 'value' => 2, 'targetUrl' => 'http://url.domain?params=param' ) ), 'config' => array( 'groupsLabelMap' => array( '01.01.1970' => 'Start of our internet evolution' '15' => 'Just a simple integer' ), 'reportTitle' => 'Some title for this report' ) )

Return values
array<string|int, mixed>

getMultipleGroupedDemoData()

public getMultipleGroupedDemoData() : 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