__set() public method

public __set ( $strName, $mixValue )
Example #1
0
 public function __set($strName, $mixValue)
 {
     switch ($strName) {
         case 'DisplayName':
             return $this->blnDisplayName = QType::Cast($mixValue, QType::Boolean);
         default:
             try {
                 return parent::__set($strName, $mixValue);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }