QDataGridColumn::__get PHP Method

__get() public method

public __get ( $strName )
    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 "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 "HorizontalAlign":
                return $this->strHorizontalAlign;
            case "VerticalAlign":
                return $this->strVerticalAlign;
            case "Width":
                return $this->strWidth;
            case "Wrap":
                return $this->blnWrap;
                // BEHAVIOR
            // BEHAVIOR
            case "OrderByClause":
                return $this->objOrderByClause;
            case "ReverseOrderByClause":
                return $this->objReverseOrderByClause;
                // MANUAL QUERY BEHAVIORS
            // MANUAL QUERY BEHAVIORS
            case "SortByCommand":
                return $this->objOrderByClause;
            case "ReverseSortByCommand":
                return $this->objReverseOrderByClause;
            case "DefaultSortDirection":
                return $this->intDefaultSortDirection;
                // MISC
            // MISC
            case "Html":
                return $this->strHtml;
            case "Name":
                return $this->strName;
            case "HtmlEntities":
                return $this->blnHtmlEntities;
            default:
                try {
                    return parent::__get($strName);
                } catch (QCallerException $objExc) {
                    $objExc->IncrementOffset();
                    throw $objExc;
                }
        }
    }

Usage Example

Exemplo n.º 1
0
 public function __get($strName)
 {
     switch ($strName) {
         // APPEARANCE
         case "Display":
             return $this->blnDisplay;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
All Usage Examples Of QDataGridColumn::__get