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; } } }
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; } } }
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 'TargetControlId': return $this->strTargetControlId; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'CalendarImageSource': return $this->strCalendarImageSource; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
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; } } }
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; } } }
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; } } }
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; } } }
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; } } }
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; } } }
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; } } }
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; } } }
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; } } }
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; } } }
public function __get($strName) { switch ($strName) { // APPEARANCE case "Text": return $this->strText; case "XCoordinate": return $this->intXCoordinate; case "YCoordinate": return $this->intYCoordinate; case "BackgroundTransparent": return $this->blnBackgroundTransparent; // BEHAVIOR // BEHAVIOR case "ImageType": return $this->strImageType; case "Quality": return $this->intQuality; case "SmoothFont": return $this->blnSmoothFont; // LAYOUT // LAYOUT case "HorizontalAlign": return $this->strHorizontalAlign; case "VerticalAlign": return $this->strVerticalAlign; case "PaddingWidth": return $this->intYCoordinate; case "PaddingHeight": return $this->intYCoordinate; case "Space": return $this->intYCoordinate; case "Tightness": return $this->intYCoordinate; case "Angle": return $this->intYCoordinate; case "CacheFolder": return $this->strCacheFolder; case "CachedImageFilePath": return $this->strCachedImageFilePath; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'Example': return $this->intExample; case 'Foo': return $this->strFoo; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { // APPEARANCE case "Text": return $this->strText; case "Format": return $this->strFormat; case "Template": return $this->strTemplate; case "AutoRenderChildren": return $this->blnAutoRenderChildren; case "TagName": return $this->strTagName; case "Padding": return $this->strPadding; case "HtmlEntities": return $this->blnHtmlEntities; // BEHAVIOR // BEHAVIOR case "DropTarget": return $this->blnDropTarget; case "HorizontalAlign": return $this->strHorizontalAlign; case "VerticalAlign": return $this->strVerticalAlign; case "ResizeHandleMinimum": return $this->intResizeHandleMinimum; case "ResizeHandleMaximum": return $this->intResizeHandleMaximum; case "ResizeHandleDirection": return $this->strResizeHandleDirection; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strText) { switch ($strText) { case "ContainerClass": return $this->strContainerClass; case "HeaderText": return $this->strHeaderText; case "HeaderAnchor": return $this->strHeaderAnchor; case "Value": case "SelectedId": return $this->strSelectedId; default: try { return parent::__get($strText); } catch (\QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case "objAsset": return $this->objAsset; break; case "blnEditMode": return $this->blnEditMode; break; case "dtgAssetTransaction": return $this->dtgAssetTransaction; break; case "dlgNewAssetModel": return $this->dlgNewAssetModel; break; case "btnSaveDisplay": return $this->btnSave->Display; break; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'ColumnLabels': return $this->arrColumnLabels; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { // APPEARANCE case "Text": return $this->strText; case "TextAlign": return $this->strTextAlign; // BEHAVIOR case "HtmlEntities": return $this->blnHtmlEntities; // MISC case "Checked": return $this->blnChecked; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'AlsoResize': return $this->mixAlsoResize; case 'Animate': return $this->blnAnimate; case 'AnimateDuration': return $this->mixAnimateDuration; case 'AnimateEasing': return $this->strAnimateEasing; case 'AspectRatio': return $this->mixAspectRatio; case 'AutoHide': return $this->blnAutoHide; case 'Cancel': return $this->mixCancel; case 'Containment': return $this->mixContainment; case 'Delay': return $this->intDelay; case 'Disabled': return $this->blnDisabled; case 'Distance': return $this->intDistance; case 'Ghost': return $this->blnGhost; case 'Grid': return $this->arrGrid; case 'Handles': return $this->mixHandles; case 'Helper': return $this->strHelper; case 'MaxHeight': return $this->intMaxHeight; case 'MaxWidth': return $this->intMaxWidth; case 'MinHeight': return $this->intMinHeight; case 'MinWidth': return $this->intMinWidth; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'Value': return $this->intValue; case 'Padding': return $this->strPadding; case 'UseAjax': return $this->blnUseAjax; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case "ItemCount": if ($this->objItemsArray) { return count($this->objItemsArray); } else { return 0; } case "SelectedIndex": for ($intIndex = 0; $intIndex < count($this->objItemsArray); $intIndex++) { if ($this->objItemsArray[$intIndex]->Selected) { return $intIndex; } } return -1; case "SelectedName": for ($intIndex = 0; $intIndex < count($this->objItemsArray); $intIndex++) { if ($this->objItemsArray[$intIndex]->Selected) { return $this->objItemsArray[$intIndex]->Name; } } return null; case "SelectedValue": for ($intIndex = 0; $intIndex < count($this->objItemsArray); $intIndex++) { if ($this->objItemsArray[$intIndex]->Selected) { return $this->objItemsArray[$intIndex]->Value; } } return null; case "SelectedItem": for ($intIndex = 0; $intIndex < count($this->objItemsArray); $intIndex++) { if ($this->objItemsArray[$intIndex]->Selected) { return $this->objItemsArray[$intIndex]; } } return null; case "SelectedItems": $objToReturn = array(); for ($intIndex = 0; $intIndex < count($this->objItemsArray); $intIndex++) { if ($this->objItemsArray[$intIndex]->Selected) { array_push($objToReturn, $this->objItemsArray[$intIndex]); } // $objToReturn[count($objToReturn)] = $this->objItemsArray[$intIndex]; } return $objToReturn; case "SelectedNames": $strNamesArray = array(); for ($intIndex = 0; $intIndex < count($this->objItemsArray); $intIndex++) { if ($this->objItemsArray[$intIndex]->Selected) { array_push($strNamesArray, $this->objItemsArray[$intIndex]->Name); } // $strNamesArray[count($strNamesArray)] = $this->objItemsArray[$intIndex]->Name; } return $strNamesArray; case "SelectedValues": $objToReturn = array(); for ($intIndex = 0; $intIndex < count($this->objItemsArray); $intIndex++) { if ($this->objItemsArray[$intIndex]->Selected) { array_push($objToReturn, $this->objItemsArray[$intIndex]->Value); } // $objToReturn[count($objToReturn)] = $this->objItemsArray[$intIndex]->Value; } return $objToReturn; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case "ParentObject": return $this->objParentObject; break; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
/** * PHP magic method to set a property of this class * * @param string $strName Name of the property * * @return int|mixed|null|string * @throws Exception * @throws QCallerException */ public function __get($strName) { switch ($strName) { // MISCELLANEOUS case "CacheFolder": return $this->strCacheFolder; case "CacheFilename": return $this->strCacheFilename; case "AlternateText": return $this->strAlternateText; case "ImageType": return $this->strImageType; case "JpegQuality": return $this->intJpegQuality; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { // APPEARANCE case "ScaleCanvasDown": return $this->blnScaleCanvasDown; case "ScaleImageUp": return $this->blnScaleImageUp; // BEHAVIOR // BEHAVIOR case "ImageType": return $this->strImageType; case "Quality": return $this->intQuality; // MISCELLANEOUS // MISCELLANEOUS case "CacheFolder": return $this->strCacheFolder; case "CacheFilename": return $this->strCacheFilename; case "ImagePath": return $this->strImagePath; case "AlternateText": return $this->strAlternateText; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { // APPEARANCE case "Noun": return $this->strNoun; case "NounPlural": return $this->strNounPlural; // BEHAVIOR // BEHAVIOR case "Paginator": return $this->objPaginator; case "PaginatorAlternate": return $this->objPaginatorAlternate; case "UseAjax": return $this->blnUseAjax; case "ItemsPerPage": if ($this->objPaginator) { return $this->objPaginator->ItemsPerPage; } else { return null; } case "TotalItemCount": if ($this->objPaginator) { return $this->objPaginator->TotalItemCount; } else { return null; } // MISC // MISC case "DataSource": return $this->objDataSource; case "LimitClause": if ($this->objPaginator) { if ($this->objPaginator->TotalItemCount > 0) { $intOffset = ($this->objPaginator->PageNumber - 1) * $this->objPaginator->ItemsPerPage; return QQ::LimitInfo($this->objPaginator->ItemsPerPage, $intOffset); } } return null; case "LimitInfo": if ($this->objPaginator) { if ($this->objPaginator->TotalItemCount > 0) { $intOffset = ($this->objPaginator->PageNumber - 1) * $this->objPaginator->ItemsPerPage; return $intOffset . ',' . $this->objPaginator->ItemsPerPage; } } return null; case "ItemCount": return count($this->objDataSource); case 'PageNumber': if ($this->objPaginator) { return $this->objPaginator->PageNumber; } else { return null; } default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { // MISC case "DateTime": if ($this->intTimestamp) { $dttToReturn = new QDateTime($this->intTimestamp); $dttToReturn->SetTime(null, null, null); return $dttToReturn; } else { return null; } case "CalendarType": return $this->strCalendarType; // case "MinimumDate": return $this->dttMinimumDate; // case "MaximumDate": return $this->dttMaximumDate; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }