public function __set($strName, $mixValue) { $this->blnModified = true; switch ($strName) { case 'EntityQtypeId': try { return $this->intEntityQtypeId = $mixValue; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'EntityId': try { return $this->intEntityId = $mixValue; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } default: try { return parent::__set($strName, $mixValue); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __set($strName, $mixValue) { $this->blnModified = true; switch ($strName) { case 'MaxFileSize': try { return $this->intMaxFileSize = QType::Cast($mixValue, QType::Integer); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'UnacceptableFileSizeMessage': try { return $this->strUnacceptableFileSizeMessage = 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; } } }