public function __get($strName)
{
switch ($strName) {
// APPEARANCE
case "BackColor":
return $this->strBackColor;
case "BorderColor":
return $this->strBorderColor;
case "BorderStyle":
return $this->strBorderStyle;
case "BorderWidth":
return $this->strBorderWidth;
case "CssClass":
return $this->strCssClass;
case "Display":
return $this->blnDisplay;
case "DisplayStyle":
return $this->strDisplayStyle;
case "FontBold":
return $this->blnFontBold;
case "FontItalic":
return $this->blnFontItalic;
case "FontNames":
return $this->strFontNames;
case "FontOverline":
return $this->blnFontOverline;
case "FontSize":
return $this->strFontSize;
case "FontStrikeout":
return $this->blnFontStrikeout;
case "FontUnderline":
return $this->blnFontUnderline;
case "ForeColor":
return $this->strForeColor;
case "Opacity":
return $this->intOpacity;
// BEHAVIOR
// BEHAVIOR
case "AccessKey":
return $this->strAccessKey;
case "CausesValidation":
return $this->mixCausesValidation;
case "Cursor":
return $this->strCursor;
case "Enabled":
return $this->blnEnabled;
case "Required":
return $this->blnRequired;
case "TabIndex":
return $this->intTabIndex;
case "ToolTip":
return $this->strToolTip;
case "ValidationError":
return $this->strValidationError;
case "Visible":
return $this->blnVisible;
// LAYOUT
// LAYOUT
case "Height":
return $this->strHeight;
case "Width":
return $this->strWidth;
case "HtmlBefore":
return $this->strHtmlBefore;
case "HtmlAfter":
return $this->strHtmlAfter;
case "Instructions":
return $this->strInstructions;
case "Warning":
return $this->strWarning;
case "Overflow":
return $this->strOverflow;
case "Position":
return $this->strPosition;
case "Top":
return $this->strTop;
case "Left":
return $this->strLeft;
case "Moveable":
return $this->blnMoveable;
// MISC
// MISC
case "ControlId":
return $this->strControlId;
case "Form":
return $this->objForm;
case "ParentControl":
return $this->objParentControl;
case "Name":
return $this->strName;
case "Rendered":
return $this->blnRendered;
case "Rendering":
return $this->blnRendering;
case "OnPage":
return $this->blnOnPage;
case "RenderMethod":
return $this->strRenderMethod;
case "Modified":
return $this->blnModified;
case "WrapperModified":
return $this->blnWrapperModified;
case "ActionParameter":
return $this->strActionParameter;
case "ActionsMustTerminate":
return $this->blnActionsMustTerminate;
// SETTINGS
// SETTINGS
case "JavaScripts":
return $this->strJavaScripts;
case "StyleSheets":
return $this->strStyleSheets;
case "FormAttributes":
return (array) $this->strFormAttributes;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}