3namespace Bitrix\Report\VisualConstructor\Internal\Manager;
5use Bitrix\Report\VisualConstructor\BaseWidgetHandler;
6use Bitrix\Report\VisualConstructor\Config\Common;
7use Bitrix\Report\VisualConstructor\Handler\BaseWidget;
8use Bitrix\Report\VisualConstructor\Internal\Error\Error;
16 private static $widgetsList =
array();
17 private static $indices =
array(
18 'widgetClassName' =>
array()
20 private static $called =
false;
27 return Common::EVENT_WIDGET_COLLECT;
36 return $this->isCalled() ? self::$widgetsList :
false;
44 return $this->isCalled() ? self::$indices :
false;
51 public function call()
57 foreach ($widgets as
$key => $widget)
59 self::$widgetsList[
$key] = $widget;
60 self::$indices[
'widgetClassName'][$widget::getClassName()][] =
$key;
70 private function isCalled()
74 $this->errors[] =
new Error(
'invoke call method manager before get some parameters');
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if(empty($signedUserToken)) $key