public function __get($strName) { switch ($strName) { // MISC case "Maximum": return $this->MaxDate; case "Minimum": return $this->MinDate; case 'DateTimeFormat': case 'DateFormat': return $this->strDateTimeFormat; case 'DateTime': return $this->dttDateTime; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }