getFacade()->resolveUrl($url); if ($calendar) { $this->setControlState('Calendar', $calendar); return; } } if ($this->getRaiseException()) { throw new THttpException(404, 'Page not found'); } else { $this->Visible = FALSE; } } public function getCalendar() { return $this->getControlState('Calendar'); } public function setRaiseException($value) { $this->setControlState('RaiseException', TPropertyValue::ensureBoolean($value)); } public function getRaiseException() { return $this->getControlState('RaiseException', FALSE); } } ?>