Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс EmptyReport
+ Граф наследования:EmptyReport:

Открытые члены

 __construct ()
 
 collectFormElements ()
 
 getMultipleBiGroupedData ()
 
 getMultipleBiGroupedDemoData ()
 
 getMultipleData ()
 
 getMultipleDemoData ()
 
 getMultipleGroupedData ()
 
 getMultipleGroupedDemoData ()
 
 getSingleDemoData ()
 
 getSingleData ()
 
 prepare ()
 
- Открытые члены унаследованные от BaseReport
 getCollectedFormElements ()
 
 getCalculateField ()
 
 getGroupingField (DropDown $whatWillCalculateField)
 
 getFormElements ()
 
 getTitle ()
 
 setTitle ($title)
 
 getWeight ()
 
 setWeight ($weight)
 
 getReport ()
 
 setReport ($report)
 
 getCalculatedData ()
 
 setCalculatedData ($calculatedData)
 
 fillReport (Report $report)
 
 getCategoryKey ()
 
 getUnitKey ()
 
 getReportImplementedDataTypes ()
 
 getWidgetHandler ()
 
 setWidgetHandler (BaseWidget $widgetHandler)
 
 __clone ()
 
 getWhatWillCalculateOptions ($groupingValue=null)
 
 isEnabled ()
 
- Открытые члены унаследованные от Base
 getFormElementFromCollected ($key)
 
 addFormElement (BaseFormElement $element)
 
 addFormElementBefore (BaseFormElement $newElement, BaseFormElement $targetElement)
 
 addFormElementAfter (BaseFormElement $newElement, BaseFormElement $targetElement)
 
 addFormElementToStart (BaseFormElement $newElement)
 
 addFormElementToEnd (BaseFormElement $newElement)
 
 setFormElements ($formElementList)
 
 updateFormElementValue ($formElement, $value)
 
 getFormElement ($fieldKey)
 
 getFormElementValue ($fieldKey)
 
 getFormElementByDataAttribute ($attributeKey, $value)
 
 removeFormElement (BaseFormElement $element)
 
 setConfigurations ($configurations)
 
 getConfigurations ()
 
 getConfigurationsGidKeyed ()
 
 getConfiguration ($key)
 
 getView ()
 
 setView (View $view)
 

Дополнительные унаследованные члены

- Открытые статические члены унаследованные от Base
static getClassName ()
 
- Защищенные члены унаследованные от BaseReport
 getGroupByOptions ()
 
 getNameForFormElement (BaseValuable $element, $pseudoReportId='')
 
 setCategoryKey ($categoryKey)
 
 setUnitKey ($unitKey)
 
- Защищенные члены унаследованные от Base
 getNameForFormElement (BaseValuable $element)
 
- Защищенные данные унаследованные от Base
 $configurations = array()
 
 $view
 
 $formElementsList = array()
 

Подробное описание

См. определение в файле emptyreport.php строка 15

Конструктор(ы)

◆ __construct()

__construct ( )

BaseReport constructor.

Переопределяет метод предка BaseReport.

См. определение в файле emptyreport.php строка 21

Методы

◆ collectFormElements()

collectFormElements ( )

Collecting form elements for configuration form.

Возвращает
void

Переопределяет метод предка BaseReport.

См. определение в файле emptyreport.php строка 32

◆ getMultipleBiGroupedData()

getMultipleBiGroupedData ( )

Array format for return this method:
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' ) )

Возвращает
array

Замещает IReportMultipleBiGroupedData.

См. определение в файле emptyreport.php строка 95

◆ getMultipleBiGroupedDemoData()

getMultipleBiGroupedDemoData ( )
Возвращает
mixed

Замещает IReportMultipleBiGroupedData.

См. определение в файле emptyreport.php строка 103

◆ getMultipleData()

getMultipleData ( )

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

Возвращает
array

Замещает IReportMultipleData.

См. определение в файле emptyreport.php строка 121

◆ getMultipleDemoData()

getMultipleDemoData ( )
Возвращает
array

Замещает IReportMultipleData.

См. определение в файле emptyreport.php строка 129

◆ getMultipleGroupedData()

getMultipleGroupedData ( )

Array format for return this method:
array( 'items' => array( array( 'groupBy' => 01.01.1970 or 15 etc. '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' ) )

Возвращает
array

Замещает IReportMultipleGroupedData.

См. определение в файле emptyreport.php строка 161

◆ getMultipleGroupedDemoData()

getMultipleGroupedDemoData ( )
Возвращает
array

Замещает IReportMultipleGroupedData.

См. определение в файле emptyreport.php строка 169

◆ getSingleData()

getSingleData ( )
Возвращает
array

Замещает IReportSingleData.

См. определение в файле emptyreport.php строка 186

◆ getSingleDemoData()

getSingleDemoData ( )
Возвращает
array

Замещает IReportSingleData.

См. определение в файле emptyreport.php строка 177

◆ prepare()

prepare ( )

Called every time when calculate some report result before passing some concrete handler, such us getMultipleData or getSingleData. Here you can get result of configuration fields of report, if report in widget you can get configurations of widget.

Возвращает
mixed

Замещает IReportData.

См. определение в файле emptyreport.php строка 202