Example #1
0
 public function __get($strName)
 {
     switch ($strName) {
         // MISC
         case 'LabelForInvalid':
             return $this->strLabelForInvalid;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         // MISC
         case "UniqueList":
             return $this->strUniqueList;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Example #3
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'DisplayHtml':
             return QWriteBox::DisplayHtml($this->strText, $this->strCodeCssClass);
         case 'CodeCssClass':
             return $this->strCodeCssClass;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 return $objExc;
             }
     }
 }
		public function __get($strName) {
			switch ($strName) {
				// MISC
				case 'Maximum': return $this->fltMaximum;
				case 'Minimum': return $this->fltMinimum;
				case 'LabelForInvalid': return $this->strLabelForInvalid;
				case 'LabelForGreater': return $this->strLabelForGreater;
				case 'LabelForLess': return $this->strLabelForLess;

				default:
					try {
						return parent::__get($strName);
					} catch (QCallerException $objExc) {
						$objExc->IncrementOffset();
						throw $objExc;
					}
			}
		}
Example #5
0
 public function __get($strName)
 {
     switch ($strName) {
         case "SizingClass":
             return $this->SizingClass();
         case "LeftText":
             return $this->LeftText();
         case "RightText":
             return $this->RightText();
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         case 'AltField':
             return $this->mixAltField;
         case 'AltFormat':
             return $this->strAltFormat;
         case 'AppendText':
             return $this->strAppendText;
         case 'AutoSize':
             return $this->blnAutoSize;
         case 'OnBeforeShow':
             return $this->mixOnBeforeShow;
         case 'OnBeforeShowDay':
             return $this->mixOnBeforeShowDay;
         case 'ButtonImage':
             return $this->strButtonImage;
         case 'ButtonImageOnly':
             return $this->blnButtonImageOnly;
         case 'ButtonText':
             return $this->strButtonText;
         case 'OnCalculateWeek':
             return $this->mixOnCalculateWeek;
         case 'ChangeMonth':
             return $this->blnChangeMonth;
         case 'ChangeYear':
             return $this->blnChangeYear;
         case 'CloseText':
             return $this->strCloseText;
         case 'ConstrainInput':
             return $this->blnConstrainInput;
         case 'CurrentText':
             return $this->strCurrentText;
         case 'JqDateFormat':
             return $this->strJqDateFormat;
         case 'DayNames':
             return $this->arrDayNames;
         case 'DayNamesMin':
             return $this->arrDayNamesMin;
         case 'DayNamesShort':
             return $this->arrDayNamesShort;
         case 'DefaultDate':
             return $this->mixDefaultDate;
         case 'Duration':
             return $this->mixDuration;
         case 'FirstDay':
             return $this->intFirstDay;
         case 'GotoCurrent':
             return $this->blnGotoCurrent;
         case 'HideIfNoPrevNext':
             return $this->blnHideIfNoPrevNext;
         case 'IsRTL':
             return $this->blnIsRTL;
         case 'MaxDate':
             return $this->mixMaxDate;
         case 'MinDate':
             return $this->mixMinDate;
         case 'MonthNames':
             return $this->arrMonthNames;
         case 'MonthNamesShort':
             return $this->arrMonthNamesShort;
         case 'NavigationAsDateFormat':
             return $this->blnNavigationAsDateFormat;
         case 'NextText':
             return $this->strNextText;
         case 'NumberOfMonths':
             return $this->mixNumberOfMonths;
         case 'OnChangeMonthYear':
             return $this->mixOnChangeMonthYear;
         case 'OnClose':
             return $this->mixOnClose;
         case 'OnSelect':
             return $this->mixOnSelect;
         case 'PrevText':
             return $this->strPrevText;
         case 'SelectOtherMonths':
             return $this->blnSelectOtherMonths;
         case 'ShortYearCutoff':
             return $this->mixShortYearCutoff;
         case 'ShowAnim':
             return $this->strShowAnim;
         case 'ShowButtonPanel':
             return $this->blnShowButtonPanel;
         case 'ShowCurrentAtPos':
             return $this->intShowCurrentAtPos;
         case 'ShowMonthAfterYear':
             return $this->blnShowMonthAfterYear;
         case 'ShowOn':
             return $this->strShowOn;
         case 'ShowOptions':
             return $this->mixShowOptions;
         case 'ShowOtherMonths':
             return $this->blnShowOtherMonths;
         case 'ShowWeek':
             return $this->blnShowWeek;
         case 'StepMonths':
             return $this->intStepMonths;
         case 'WeekHeader':
             return $this->strWeekHeader;
         case 'YearRange':
             return $this->strYearRange;
         case 'YearSuffix':
             return $this->strYearSuffix;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         // MISC
         case "Maximum":
             return $this->dttMaximum;
         case "Minimum":
             return $this->dttMinimum;
         case 'DateTime':
             return QDateTimeTextBox::ParseForDateTimeValue($this->strText);
         case 'LabelForInvalid':
             return $this->strLabelForInvalid;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 /**
  * PHP __get magic method implementation
  * @param string $strName Name of the property
  *
  * @return array|bool|int|mixed|null|QControl|QForm|string
  * @throws Exception|QCallerException
  */
 public function __get($strName)
 {
     switch ($strName) {
         // MISC
         case "Maximum":
             return $this->mixMaximum;
         case "Minimum":
             return $this->mixMinimum;
         case 'Step':
             return $this->mixStep;
         case 'LabelForInvalid':
             return $this->strLabelForInvalid;
         case 'LabelForGreater':
             return $this->strLabelForGreater;
         case 'LabelForLess':
             return $this->strLabelForLess;
         case 'LabelForNotStepAligned':
             return $this->strLabelForNotStepAligned;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         case 'AppendTo':
             return $this->mixAppendTo;
         case 'AutoFocus':
             return $this->blnAutoFocus;
         case 'Delay':
             return $this->intDelay;
         case 'Disabled':
             return $this->blnDisabled;
         case 'MinLength':
             return $this->intMinLength;
         case 'Position':
             return $this->mixPosition;
         case 'Source':
             return $this->mixSource;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 /**
  * PHP magic method
  * @param string $strName Property name
  *
  * @return mixed
  * @throws Exception|QCallerException
  */
 public function __get($strName)
 {
     switch ($strName) {
         // APPEARANCE
         case "Delimiter":
             return $this->strDelimiter;
         case "Enclosure":
             return $this->strEnclosure;
         case "Escape":
             return $this->strEscape;
         case "MinItemCount":
             return $this->intMinItemCount;
         case "MaxItemCount":
             return $this->intMaxItemCount;
         case 'Value':
             if (empty($this->strText)) {
                 return array();
             }
             return str_getcsv($this->strText, $this->strDelimiter, $this->strEnclosure, $this->strEscape);
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         case 'Culture':
             return $this->strCulture;
         case 'Disabled':
             return $this->blnDisabled;
         case 'Icons':
             return $this->mixIcons;
         case 'Incremental':
             return $this->mixIncremental;
         case 'Max':
             return $this->mixMax;
         case 'Min':
             return $this->mixMin;
         case 'NumberFormat':
             return $this->strNumberFormat;
         case 'Page':
             return $this->intPage;
         case 'Step':
             return $this->mixStep;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         case "DefaultAreaCode":
             return $this->strDefaultAreaCode;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }