From 823d71ced9b4947b1a5a5ade7245d521ed490061 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 7 Jun 2016 15:17:49 +0200 Subject: * renaming php directory --- app/php/controls/UrlBasedCalendarControl.php | 40 ---------------------------- 1 file changed, 40 deletions(-) delete mode 100644 app/php/controls/UrlBasedCalendarControl.php (limited to 'app/php/controls/UrlBasedCalendarControl.php') diff --git a/app/php/controls/UrlBasedCalendarControl.php b/app/php/controls/UrlBasedCalendarControl.php deleted file mode 100644 index a5be82e..0000000 --- a/app/php/controls/UrlBasedCalendarControl.php +++ /dev/null @@ -1,40 +0,0 @@ -getFacade()->resolveUrl($url); - if ($calendar) { - $this->setControlState('Calendar', $calendar); - return; - } - } - if ($this->getRaiseException()) { - throw new THttpException( - 404, - Prado::localize('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); - } - -} - -?> -- cgit v1.2.3