Bitrix API

IReportSingleData extends IReportData

Interface IReportSingleData

Table of Contents

Methods

getSingleData()  : array<string|int, mixed>
array with format array( 'title' => 'Some Title', 'value' => 0, 'targetUrl' => 'http://url.domain?params=param' )
getSingleDemoData()  : 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

getSingleData()

array with format array( 'title' => 'Some Title', 'value' => 0, 'targetUrl' => 'http://url.domain?params=param' )

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

getSingleDemoData()

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