public function __set($strName, $mixValue)
{
$this->blnModified = true;
switch ($strName) {
case 'CalendarImageSource':
try {
return $this->strCalendarImageSource = QType::Cast($mixValue, QType::String);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
case 'HideOnClickAway':
try {
return $this->blnHideOnClickAway = QType::Cast($mixValue, QType::Boolean);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
case 'JavaScriptSetDateOverride':
try {
return $this->strJavaScriptSetDateOverride = QType::Cast($mixValue, QType::String);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
default:
try {
return parent::__set($strName, $mixValue);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}