当前位置: 首页>>代码示例>>PHP>>正文


PHP QPanel::__get方法代码示例

本文整理汇总了PHP中QPanel::__get方法的典型用法代码示例。如果您正苦于以下问题:PHP QPanel::__get方法的具体用法?PHP QPanel::__get怎么用?PHP QPanel::__get使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QPanel的用法示例。


在下文中一共展示了QPanel::__get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __get

 public function __get($strName)
 {
     switch ($strName) {
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:12,代码来源:NarroLogViewerPanel.class.php

示例2: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "Directory":
             return $this->pnlMainTab->SelectedTab->Directory;
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:15,代码来源:NarroProjectTranslationTargetPanel.class.php

示例3: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "Directory":
             return sprintf('%s/%s/%s', __IMPORT_PATH__, $this->lstProject->SelectedValue, QApplication::$TargetLanguage->LanguageCode);
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:15,代码来源:NarroProjectSourcePanel.class.php

示例4: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "Data":
             return $this->arrData;
         case "MinimumDataValue":
             return $this->intMinimumDataValue;
         case "Total":
             return $this->intTotal;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:18,代码来源:QPieChart.class.php

示例5: __get

 public function __get($strName)
 {
     switch ($strName) {
         // APPEARANCE
         case "MatteColor":
             return $this->strMatteColor;
         case "MatteOpacity":
             return $this->intMatteOpacity;
             // BEHAVIOR
         // BEHAVIOR
         case "MatteClickable":
             return $this->blnMatteClickable;
         case "AnyKeyCloses":
             return $this->blnAnyKeyCloses;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:klucznik,项目名称:qcodo,代码行数:23,代码来源:QDialogBox.class.php

示例6: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "Directory":
             if ($this->chkCopyFilesToDefaultDirectory->Checked && __IMPORT_PATH__ . '/' . $this->objProject->ProjectId . '/' . $this->objLanguage->LanguageCode != $this->txtDirectory->Text) {
                 if (file_exists(__IMPORT_PATH__ . '/' . $this->objProject->ProjectId . '/' . $this->objLanguage->LanguageCode)) {
                     NarroUtils::RecursiveDelete(__IMPORT_PATH__ . '/' . $this->objProject->ProjectId . '/' . $this->objLanguage->LanguageCode . '/*');
                 } else {
                     mkdir(__IMPORT_PATH__ . '/' . $this->objProject->ProjectId . '/' . $this->objLanguage->LanguageCode, 0777);
                 }
                 NarroUtils::RecursiveCopy($this->txtDirectory->Text, __IMPORT_PATH__ . '/' . $this->objProject->ProjectId . '/' . $this->objLanguage->LanguageCode);
                 NarroUtils::RecursiveChmod(__IMPORT_PATH__ . '/' . $this->objProject->ProjectId . '/' . $this->objLanguage->LanguageCode);
             }
             return $this->txtDirectory->Text;
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:24,代码来源:NarroDirectorySourcePanel.class.php

示例7: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'Active':
             return $this->mixActive;
         case 'Animate':
             return $this->mixAnimate;
         case 'Collapsible':
             return $this->blnCollapsible;
         case 'Disabled':
             return $this->blnDisabled;
         case 'Event':
             return $this->strEvent;
         case 'Header':
             return $this->mixHeader;
         case 'HeightStyle':
             return $this->strHeightStyle;
         case 'Icons':
             return $this->mixIcons;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:tomVertuoz,项目名称:framework,代码行数:28,代码来源:QAccordionGen.class.php

示例8: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'AllowCreate':
             return $this->blnAllowCreate;
         case 'ForceAsMaleFlag':
             return $this->blnForceAsMaleFlag;
         case 'Person':
             if ($this->blnAllowCreate && $this->intSelectedPersonId == -1) {
                 if (!is_null($this->blnForceAsMaleFlag)) {
                     $blnGender = $this->blnForceAsMaleFlag;
                 } else {
                     if (!is_null($this->lstGender->SelectedValue)) {
                         $blnGender = $this->lstGender->SelectedValue == 'M';
                     } else {
                         $blnGender = null;
                     }
                 }
                 $strEmail = trim(strtolower($this->txtEmail->Text));
                 $strPhone = trim(strtolower($this->txtPhone->Text));
                 $intPhoneTypeId = $strPhone ? $this->lstPhone->SelectedValue : null;
                 $intMobileProviderId = $strPhone ? $this->lstMobileProvider->SelectedValue : null;
                 $objPerson = Person::CreatePerson($this->txtFirstName->Text, null, $this->txtLastName->Text, $blnGender, $strEmail, $strPhone, $intPhoneTypeId, $intMobileProviderId);
                 if ($this->dtxDateOfBirth->DateTime) {
                     $objPerson->DateOfBirth = $this->dtxDateOfBirth->DateTime;
                     $objPerson->DobGuessedFlag = false;
                     $objPerson->DobYearApproximateFlag = false;
                     $objPerson->RefreshAge();
                 }
                 return $objPerson;
             } else {
                 if ($this->intSelectedPersonId > 0) {
                     return Person::Load($this->intSelectedPersonId);
                 } else {
                     return null;
                 }
             }
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:alcf,项目名称:chms,代码行数:46,代码来源:SelectPersonPanel.class.php

示例9: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "Dismissable":
         case "HasCloseButton":
             // QCubed synonym
             return $this->blnDismissable;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:qcubed,项目名称:plugin_bootstrap,代码行数:16,代码来源:Alert.php

示例10: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'AppendTo':
             return $this->mixAppendTo;
         case 'Axis':
             return $this->strAxis;
         case 'Cancel':
             return $this->mixCancel;
         case 'ConnectWith':
             return $this->mixConnectWith;
         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 'DropOnEmpty':
             return $this->blnDropOnEmpty;
         case 'ForceHelperSize':
             return $this->blnForceHelperSize;
         case 'ForcePlaceholderSize':
             return $this->blnForcePlaceholderSize;
         case 'Grid':
             return $this->arrGrid;
         case 'Handle':
             return $this->mixHandle;
         case 'Helper':
             return $this->mixHelper;
         case 'Items':
             return $this->mixItems;
         case 'Opacity':
             return $this->intOpacity;
         case 'Placeholder':
             return $this->strPlaceholder;
         case 'Revert':
             return $this->mixRevert;
         case 'Scroll':
             return $this->blnScroll;
         case 'ScrollSensitivity':
             return $this->intScrollSensitivity;
         case 'ScrollSpeed':
             return $this->intScrollSpeed;
         case 'Tolerance':
             return $this->strTolerance;
         case 'ZIndex':
             return $this->intZIndex;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:vaibhav-kaushal,项目名称:qc-framework,代码行数:62,代码来源:QSortableGen.class.php

示例11: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'SelectedFiles':
             $arrFiles = array();
             foreach ($this->objChildControlArray as $objControl) {
                 if ($objControl instanceof QPanel) {
                     $chkControl = $objControl->GetChildControl($objControl->ControlId . 'chk');
                     if ($chkControl instanceof QCheckBox && $chkControl->Checked) {
                         $arrFiles[] = $chkControl->Name;
                     }
                 }
             }
             return $arrFiles;
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:24,代码来源:NarroPatchViewerPanel.class.php

示例12: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'Disabled':
             return $this->blnDisabled;
         case 'Icons':
             return $this->mixIcons;
         case 'Menus':
             return $this->strMenus;
         case 'Position':
             return $this->mixPosition;
         case 'Role':
             return $this->strRole;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:hiptc,项目名称:dle2wordpress,代码行数:22,代码来源:QMenuGen.class.php

示例13: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "Total":
             return $this->intTotal;
         case "Fuzzy":
             return $this->intFuzzy;
         case "Translated":
             return $this->intTranslated;
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:19,代码来源:NarroTranslationProgressBar.class.php

示例14: __get

 public function __get($strName)
 {
     switch ($strName) {
         case "SelectedTab":
             return $this->arrTab[$this->intSelectedTab];
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:Jobava,项目名称:narro,代码行数:15,代码来源:QTabPanel.class.php

示例15: __get

 public function __get($strName)
 {
     switch ($strName) {
         case 'AppendTo':
             return $this->mixAppendTo;
         case 'AutoRefresh':
             return $this->blnAutoRefresh;
         case 'Cancel':
             return $this->mixCancel;
         case 'Delay':
             return $this->intDelay;
         case 'Disabled':
             return $this->blnDisabled;
         case 'Distance':
             return $this->intDistance;
         case 'Filter':
             return $this->mixFilter;
         case 'Tolerance':
             return $this->strTolerance;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:vaibhav-kaushal,项目名称:qc-framework,代码行数:28,代码来源:QSelectableGen.class.php


注:本文中的QPanel::__get方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。