當前位置: 首頁>>代碼示例>>PHP>>正文


PHP QControl::__get方法代碼示例

本文整理匯總了PHP中QControl::__get方法的典型用法代碼示例。如果您正苦於以下問題:PHP QControl::__get方法的具體用法?PHP QControl::__get怎麽用?PHP QControl::__get使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在QControl的用法示例。


在下文中一共展示了QControl::__get方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __get

 public function __get($strName)
 {
     switch ($strName) {
         // APPEARANCE
         case "Text":
             return $this->strText;
         case "TagName":
             return $this->strTagName;
         case "Padding":
             return $this->strPadding;
             // LAYOUT
         // LAYOUT
         case "HorizontalAlign":
             return $this->strHorizontalAlign;
         case "VerticalAlign":
             return $this->strVerticalAlign;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:eliud254,項目名稱:q-auction,代碼行數:25,代碼來源:QWaitIcon.class.php

示例2: __get

 public function __get($strName)
 {
     switch ($strName) {
         // BEHAVIOR
         case "ItemsPerPage":
             return $this->intItemsPerPage;
         case "PageNumber":
             return $this->intPageNumber;
         case "TotalItemCount":
             return $this->intTotalItemCount;
         case "UseAjax":
             return $this->blnUseAjax;
         case "PageCount":
             return floor($this->intTotalItemCount / $this->intItemsPerPage) + ($this->intTotalItemCount % $this->intItemsPerPage != 0 ? 1 : 0);
         case "PaginatedControl":
             return $this->objPaginatedControl;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:sarapsg,項目名稱:prayuj,代碼行數:25,代碼來源:QPaginatorBase.class.php

示例3: __get

 public function __get($strName)
 {
     switch ($strName) {
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:brustj,項目名稱:tracmor,代碼行數:12,代碼來源:QShortcutMenu.class.php

示例4: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'TargetControlId':
             return $this->strTargetControlId;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:hiptc,項目名稱:dle2wordpress,代碼行數:14,代碼來源:QControlProxy.class.php

示例5: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'CalendarImageSource':
             return $this->strCalendarImageSource;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:sigeal,項目名稱:qcodo,代碼行數:14,代碼來源:QCalendar.class.php

示例6: __get

 public function __get($strName)
 {
     switch ($strName) {
         // APPEARANCE
         case "Text":
             return $this->strText;
         case "ForControlId":
             return $this->strForControlId;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:tomVertuoz,項目名稱:framework,代碼行數:17,代碼來源:QControlLabel.class.php

示例7: __get

 public function __get($strName)
 {
     switch ($strName) {
         // MISC
         case "FileName":
             return $this->strFileName;
         case "Type":
             return $this->strType;
         case "Size":
             return $this->intSize;
         case "File":
             return $this->strFile;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:heshuai64,項目名稱:einv2,代碼行數:21,代碼來源:QFileControl.class.php

示例8: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "objInventoryModel":
             return $this->objInventoryModel;
         case "blnEditMode":
             return $this->blnEditMode;
         case "dtgInventoryTransaction":
             return $this->dtgInventoryTransaction;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:heshuai64,項目名稱:einv2,代碼行數:18,代碼來源:QInventoryEditComposite.class.php

示例9: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'AddClasses':
             return $this->blnAddClasses;
         case 'AppendTo':
             return $this->mixAppendTo;
         case 'Axis':
             return $this->strAxis;
         case 'Cancel':
             return $this->mixCancel;
         case 'ConnectToSortable':
             return $this->mixConnectToSortable;
         case 'Containment':
             return $this->mixContainment;
         case 'Cursor':
             return $this->strCursor;
         case 'CursorAt':
             return $this->mixCursorAt;
         case 'Delay':
             return $this->intDelay;
         case 'Disabled':
             return $this->blnDisabled;
         case 'Distance':
             return $this->intDistance;
         case 'Grid':
             return $this->arrGrid;
         case 'Handle':
             return $this->mixHandle;
         case 'Helper':
             return $this->mixHelper;
         case 'IframeFix':
             return $this->mixIframeFix;
         case 'Opacity':
             return $this->intOpacity;
         case 'RefreshPositions':
             return $this->blnRefreshPositions;
         case 'Revert':
             return $this->mixRevert;
         case 'RevertDuration':
             return $this->intRevertDuration;
         case 'Scope':
             return $this->strScope;
         case 'Scroll':
             return $this->blnScroll;
         case 'ScrollSensitivity':
             return $this->intScrollSensitivity;
         case 'ScrollSpeed':
             return $this->intScrollSpeed;
         case 'Snap':
             return $this->mixSnap;
         case 'SnapMode':
             return $this->strSnapMode;
         case 'SnapTolerance':
             return $this->intSnapTolerance;
         case 'Stack':
             return $this->mixStack;
         case 'ZIndex':
             return $this->intZIndex;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:tomVertuoz,項目名稱:framework,代碼行數:68,代碼來源:QDraggableGen.class.php

示例10: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "objInventoryLocationArray":
             return $this->objInventoryLocationArray;
         case "dtgInventoryTransact":
             return $this->dtgInventoryTransact;
         case "intTransactionTypeId":
             return $this->intTransactionTypeId;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:proxymoron,項目名稱:tracmor,代碼行數:18,代碼來源:QInventoryTransactComposite.class.php

示例11: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "objAsset":
             return $this->objAsset;
         case "objAssetArray":
             return $this->objAssetArray;
         case "dtgAssetTransact":
             return $this->dtgAssetTransact;
         case "intTransactionTypeId":
             return $this->intTransactionTypeId;
         case "blnTransactionModified":
             return $this->blnTransactionModified;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:jdellinger,項目名稱:tracmor,代碼行數:22,代碼來源:QAssetTransactComposite.class.php

示例12: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "SelectedItem":
             return $this->objSelectedTreeNavItem;
         case "SelectedValue":
             if ($this->objSelectedTreeNavItem) {
                 return $this->objSelectedTreeNavItem->Value;
             } else {
                 return null;
             }
         case "ChildItemArray":
             return (array) $this->objChildItemArray;
         case "ItemArray":
             return (array) $this->objItemArray;
         case "ItemCssStyle":
             return $this->strItemCssStyle;
         case "ItemSelectedCssStyle":
             return $this->strItemSelectedCssStyle;
         case "ItemHoverCssStyle":
             return $this->strItemHoverCssStyle;
         case "IndentWidth":
             return $this->intIndentWidth;
         case "ItemHeight":
             return $this->intItemHeight;
         case "ItemWidth":
             return $this->intItemWidth;
         case "ExpandOnSelect":
             return $this->blnExpandOnSelect;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:heshuai64,項目名稱:einv2,代碼行數:38,代碼來源:QTreeNav.class.php

示例13: __get

 public function __get($strName)
 {
     switch ($strName) {
         // MISC
         case "DateTime":
             if (is_null($this->dttDateTime) || $this->dttDateTime->IsNull()) {
                 return null;
             } else {
                 $objToReturn = clone $this->dttDateTime;
                 return $objToReturn;
             }
         case "DateTimePickerType":
             return $this->strDateTimePickerType;
         case "DateTimePickerFormat":
             return $this->strDateTimePickerFormat;
         case "MinimumYear":
             return $this->intMinimumYear;
         case "MaximumYear":
             return $this->intMaximumYear;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:snowmann,項目名稱:qcodo,代碼行數:28,代碼來源:QDateTimePicker.class.php

示例14: __get

		public function __get($strName) {
			switch ($strName) {
				// APPEARANCE
				case "Columns": return $this->intColumns;
				case "Format": return $this->strFormat;
				case "Text": return $this->strText;
				case "LabelForRequired": return $this->strLabelForRequired;
				case "LabelForRequiredUnnamed": return $this->strLabelForRequiredUnnamed;
				case "LabelForTooShort": return $this->strLabelForTooShort;
				case "LabelForTooShortUnnamed": return $this->strLabelForTooShortUnnamed;
				case "LabelForTooLong": return $this->strLabelForTooLong;
				case "LabelForTooLongUnnamed": return $this->strLabelForTooLongUnnamed;

				// BEHAVIOR
				case "CrossScripting": return $this->strCrossScripting;
				case "MaxLength": return $this->intMaxLength;
				case "MinLength": return $this->intMinLength;
				case "ReadOnly": return $this->blnReadOnly;
				case "Rows": return $this->intRows;
				case "TextMode": return $this->strTextMode;
				case "ValidateTrimmed": return $this->blnValidateTrimmed;

				// LAYOUT
				case "Wrap": return $this->blnWrap;

				default:
					try {
						return parent::__get($strName);
					} catch (QCallerException $objExc) {
						$objExc->IncrementOffset();
						throw $objExc;
					}
			}
		}
開發者ID:rommelxcastro,項目名稱:CRI-Online-Sales---Admin,代碼行數:34,代碼來源:QTextBoxBase.class.php

示例15: __get

 public function __get($strName)
 {
     switch ($strName) {
         // APPEARANCE
         case "ImageStandard":
             return $this->mixImageStandard;
         case "ImageHover":
             return $this->mixImageHover;
         case "AltText":
             return $this->strAltText;
         case "LinkUrl":
             return $this->strLinkUrl;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
開發者ID:tomVertuoz,項目名稱:framework,代碼行數:21,代碼來源:QImageRollover.class.php


注:本文中的QControl::__get方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。