1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс BaseReport
Граф наследования:BaseReport:
Base IReportData BaseHandler EmptyReport Formula ProfitHandler ChartHandler GridHandler ChartHandler GridHandler GraphHandler GridHandler

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

 __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
 getPrefix ()
 setPrefix ($prefix)
 getPostfix ()
 setPostfix ($postfix)
 getAssets ()
 addAssets ($assets)
 getForm ()
 setForm ($form)
 render ()
 printContent ()
 getJsEventListeners ()
 getJsEvents ()
 addJsEventListener (Base $field=null, $eventKey, $jsParams)
 getLabel ()
 setLabel ($label)
 getCompatibleViewTypes ()
 setCompatibleViewTypes ($compatibleViewTypes)
 getId ()
 setId ($id)
 addClass ($class)
 getClasses ()
 getDataAttribute ($key)
 getDataAttributes ()
 setDataAttributes ($dataAttributes)
 addDataAttribute ($key, $value)
 getRenderedIdAttribute ()
 getKey ()
 setKey ($key)
 getRenderedClassAttributes ()
 getRenderedDataAttributes ()
 getRenderedInlineStyle ()
 isDisplayLabel ()
 setIsDisplayLabel ($isDisplayLabel)
 addInlineStyle ($key, $value)
 getInlineStyle ()
 setInlineStyle ($inlineStyle)
 isDisplay ()
 setDisplay ($display)
Открытые члены унаследованные от IReportData
 prepare ()

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

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

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

Открытые статические члены унаследованные от Base
static getClassName ()
Поля данных унаследованные от Base
const FIELDS_COMPONENT_NAME = 'bitrix:report.visualconstructor.config.fields'

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

См. определение в файле 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

Переопределяется в 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[]

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

◆ getFormElements()

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

См. определение в файле 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

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

См. определение в файле 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

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

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

◆ setWidgetHandler()

setWidgetHandler ( BaseWidget $widgetHandler)

Attach report handler to widget handler.

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

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/report/lib/visualconstructor/handler/basereport.php