本文整理汇总了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;
}
}
}
示例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;
}
}
}
示例3: __get
public function __get($strName)
{
switch ($strName) {
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}
示例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;
}
}
}