QCheckBox::__get PHP Method

__get() public method

public __get ( $strName )
    public function __get($strName)
    {
        switch ($strName) {
            // APPEARANCE
            case "Text":
                return $this->strText;
            case "TextAlign":
                return $this->strTextAlign;
                // BEHAVIOR
            // BEHAVIOR
            case "HtmlEntities":
                return $this->blnHtmlEntities;
                // MISC
            // MISC
            case "Checked":
                return $this->blnChecked;
            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) {
         case 'Disabled':
             return $this->blnDisabled;
         case 'Icons':
             return $this->mixIcons;
         case 'Label':
             return $this->strLabel;
         case 'JqText':
             return $this->blnJqText;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
All Usage Examples Of QCheckBox::__get