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

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

 __construct ()
 
 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)
 
- Открытые члены унаследованные от IReportData
 prepare ()
 

Защищенные члены

 collectFormElements ()
 
 getGroupByOptions ()
 
 getNameForFormElement (BaseValuable $element, $pseudoReportId='')
 
 setCategoryKey ($categoryKey)
 
 setUnitKey ($unitKey)
 
- Защищенные члены унаследованные от Base
 getNameForFormElement (BaseValuable $element)
 

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

- Открытые статические члены унаследованные от Base
static getClassName ()
 
- Защищенные данные унаследованные от Base
 $configurations = array()
 
 $view
 
 $formElementsList = array()
 

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

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

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

◆ __construct()

__construct ( )

BaseReport constructor.

Переопределяется в EmptyReport и Formula.

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

Методы

◆ __clone()

__clone ( )

In cloning of entity clone nested entities too.(configurations, form elements list).

Возвращает
void

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

◆ collectFormElements()

collectFormElements ( )
protected

Collecting form elements for configuration form.

Возвращает
void

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

Переопределяется в EmptyReport.

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

◆ fillReport()

fillReport ( Report $report)

Fill report handler properties from Report entity.

Аргументы
Report$reportReport entity.
Возвращает
void

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

◆ getCalculatedData()

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

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

◆ getCalculateField()

getCalculateField ( )
Возвращает
DropDown

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

◆ getCategoryKey()

getCategoryKey ( )
Возвращает
string

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

◆ getCollectedFormElements()

getCollectedFormElements ( )
Возвращает
\Bitrix\Report\VisualConstructor\Fields\Base[]

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

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

◆ getFormElements()

getFormElements ( )
Возвращает
BaseFormField[]

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

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

◆ getGroupByOptions()

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

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

◆ getGroupingField()

getGroupingField ( DropDown $whatWillCalculateField)
Аргументы
DropDown$whatWillCalculateFieldWhat will calculate field.
Возвращает
DropDown

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

◆ getNameForFormElement()

getNameForFormElement ( BaseValuable $element,
$pseudoReportId = '' )
protected
Аргументы
BaseValuable$elementElement for which construct name.
string$pseudoReportIdpseudo report id is report not exist.
Возвращает
string

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

◆ getReport()

getReport ( )
Возвращает
Report

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

◆ getReportImplementedDataTypes()

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

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

◆ getTitle()

getTitle ( )
Возвращает
string

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

◆ getUnitKey()

getUnitKey ( )
Возвращает
string

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

◆ getWeight()

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

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

◆ getWhatWillCalculateOptions()

getWhatWillCalculateOptions ( $groupingValue = null)
Аргументы
null$groupingValueGrouping field value.
Возвращает
array

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

◆ getWidgetHandler()

getWidgetHandler ( )
Возвращает
BaseWidget|null

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

◆ isEnabled()

isEnabled ( )

In some case, need to dynamically disable some report handler

Возвращает
bool

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

◆ setCalculatedData()

setCalculatedData ( $calculatedData)
Аргументы
mixed$calculatedDataReport handler calculated data.
Возвращает
void

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

◆ setCategoryKey()

setCategoryKey ( $categoryKey)
protected

Attach report handler to category.

Аргументы
string$categoryKeyCategory key.
Возвращает
void

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

◆ setReport()

setReport ( $report)
Аргументы
Report$reportReport entity.
Возвращает
void

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

◆ setTitle()

setTitle ( $title)
Аргументы
string$titleTitle of report handler.
Возвращает
void

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

◆ setUnitKey()

setUnitKey ( $unitKey)
protected
Аргументы
string$unitKeyUnit measurement key.
Возвращает
void

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

◆ setWeight()

setWeight ( $weight)
Аргументы
mixed$weightWeight value for sorting.
Возвращает
void

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

◆ setWidgetHandler()

setWidgetHandler ( BaseWidget $widgetHandler)

Attach report handler to widget handler.

Аргументы
BaseWidget$widgetHandlerWidget handler.
Возвращает
void

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