Ejemplo n.º 1
0
 public function __get($strName)
 {
     switch ($strName) {
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 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;
             }
     }
 }
Ejemplo n.º 3
0
 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;
             }
     }
 }
Ejemplo n.º 4
0
 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;
             }
     }
 }
Ejemplo n.º 5
0
 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;
             }
     }
 }
 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;
             }
     }
 }
Ejemplo n.º 7
0
 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;
             }
     }
 }
Ejemplo n.º 8
0
 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;
             }
     }
 }
Ejemplo n.º 9
0
 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;
             }
     }
 }
 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;
             }
     }
 }
Ejemplo n.º 11
0
 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;
             }
     }
 }
Ejemplo n.º 12
0
 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;
             }
     }
 }
 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;
             }
     }
 }
Ejemplo n.º 14
0
 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;
             }
     }
 }
 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;
             }
     }
 }
Ejemplo n.º 16
0
 public function __get($strName)
 {
     switch ($strName) {
         case "Filter":
             return $this->intFilter;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 17
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'Disabled':
             return $this->blnDisabled;
         case 'Max':
             return $this->intMax;
         case 'Value':
             return $this->intValue;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 18
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'Animate':
             return $this->mixAnimate;
         case 'Disabled':
             return $this->blnDisabled;
         case 'Max':
             return $this->intMax;
         case 'Min':
             return $this->intMin;
         case 'Orientation':
             return $this->strOrientation;
         case 'Range':
             return $this->mixRange;
         case 'Step':
             return $this->intStep;
         case 'Value':
             return $this->intValue;
         case 'Values':
             return $this->arrValues;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         case "MainImage":
             return $this->imgMainImage;
         case "Caption":
             return $this->txtCaption;
         case "SaveButton":
             return $this->btnSave;
         case "Navigation1":
             return $this->ibnNavigation1;
         case "Navigation2":
             return $this->ibnNavigation2;
         case "Thumbnails":
             return $this->ibtThumbnails;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 20
0
 public function __get($strName)
 {
     switch ($strName) {
         case "Directory":
             return $this->GetWorkingDirectory();
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 21
0
 public function __get($strName)
 {
     switch ($strName) {
         case "Role":
             return $this->objRole;
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 22
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'AutoOpen':
             return $this->blnAutoOpen;
         case 'Buttons':
             return $this->mixButtons;
         case 'CloseOnEscape':
             return $this->blnCloseOnEscape;
         case 'CloseText':
             return $this->strCloseText;
         case 'DialogClass':
             return $this->strDialogClass;
         case 'Draggable':
             return $this->blnDraggable;
         case 'Height':
             return $this->mixHeight;
         case 'Hide':
             return $this->mixHide;
         case 'MaxHeight':
             return $this->intMaxHeight;
         case 'MaxWidth':
             return $this->intMaxWidth;
         case 'MinHeight':
             return $this->intMinHeight;
         case 'MinWidth':
             return $this->intMinWidth;
         case 'Modal':
             return $this->blnModal;
         case 'Position':
             return $this->mixPosition;
         case 'Resizable':
             return $this->blnResizable;
         case 'Show':
             return $this->mixShow;
         case 'Stack':
             return $this->blnStack;
         case 'Title':
             return $this->strTitle;
         case 'Width':
             return $this->intWidth;
         case 'ZIndex':
             return $this->intZIndex;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 23
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'objAttachmentArray':
             return $this->objAttachmentArray;
         case 'lblAttachments':
             return $this->lblAttachments;
         case 'pnlAttachments':
             return $this->pnlAttachments;
         case 'arrAttachments':
             return $this->arrAttachments;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 24
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'File':
             return $this->strFile;
         case 'FileName':
             return $this->strFileName;
         case 'RandomFileName':
             return $this->strRandomFileName;
         case 'UnacceptableMessage':
             return $this->strUnacceptableMessage;
         case 'FileAssetType':
             return $this->intFileAssetType;
         case 'TemporaryUploadPath':
             return $this->strTemporaryUploadPath;
         case 'ClickToView':
             return $this->blnClickToView;
         case 'DialogBoxCssClass':
             return $this->dlgFileAsset->CssClass;
         case 'UploadText':
             return $this->dlgFileAsset->btnUpload->Text;
         case 'CancelText':
             return $this->dlgFileAsset->btnCancel->Text;
         case 'DialogBoxHtml':
             return $this->dlgFileAsset->lblMessage->Text;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Ejemplo n.º 25
0
 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;
             }
     }
 }
Ejemplo n.º 26
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'CopyButton':
             return $this->btnCopy;
         case 'HelpButton':
             return $this->btnHelp;
         case 'SaveButton':
             return $this->btnSave;
         case 'KeepUntranslatedButton':
             return $this->btnKeepUntranslated;
         case 'Text':
             return $this->lblText;
         case 'TextAccessKey':
             return $this->txtAccessKey;
         case 'TextCommandKey':
             return $this->txtCommandKey;
         case 'Translation':
             return $this->txtTranslation;
         case 'ContextInfo':
             return $this->lblContextInfo;
         case 'TranslationList':
             return $this->dtgTranslation;
         case 'CommentList':
             return $this->pnlComment;
         case 'Message':
             return $this->lblMessage;
         case 'Changed':
             return $this->chkChanged->Checked;
         case 'Index':
             return $this->lblIndex;
         case 'ChangedCheckbox':
             return $this->chkChanged;
         case 'SaveIgnoreButton':
             return $this->btnSaveIgnore;
         default:
             try {
                 return parent::__get($strName);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __get($strName)
 {
     switch ($strName) {
         case 'Project':
             return $this->objProject;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }