public function getWidgets() { if ($this->widgets === NULL) { $this->widgets = WidgetManager::GetWidgetsByContext($this); } return $this->widgets; }