本文整理汇总了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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}