From e53fad78d31caa06c2e046ea49a9f894f9ea685a Mon Sep 17 00:00:00 2001 From: mikl <> Date: Mon, 13 Oct 2008 21:40:53 +0000 Subject: Fixed #595 (reopened) --- .../tickets/protected/pages/Ticket284Component.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tests/FunctionalTests/tickets/protected') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php b/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php index 892bdc87..da6ad153 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php @@ -2,6 +2,7 @@ class Ticket284Component extends TTemplateControl implements IValidatable { + private $_isValid; public function onPreRender($param) { if (!$this->ShowHours && $this->ShowMinutes) @@ -90,5 +91,13 @@ class Ticket284Component extends TTemplateControl implements IValidatable return $this->TimeStamp; } } + public function getIsValid() + { + return $this->_isValid; + } + public function setIsValid($value) + { + $this->_isValid=TPropertyValue::ensureBoolean($value); + } } -?> \ No newline at end of file +?> -- cgit v1.2.3