getId() 공개 메소드

Get the id of the widget.
public getId ( ) : string
리턴 string
예제 #1
0
파일: WidgetsList.php 프로젝트: piwik/piwik
 private function addContainer(WidgetContainerConfig $containerWidget)
 {
     $widgetId = $containerWidget->getId();
     $this->container[$widgetId] = $containerWidget;
     // widgets were added to this container, but the container did not exist yet.
     if (isset($this->containerWidgets[$widgetId])) {
         foreach ($this->containerWidgets[$widgetId] as $widget) {
             $containerWidget->addWidgetConfig($widget);
         }
         unset($this->containerWidgets[$widgetId]);
     }
 }