__set() public method

public __set ( $strName, $mixValue )
 /**
  * Override method to perform a property "Set"
  * This will set the property $strName to be $mixValue
  *
  * @param string $strName Name of the property to set
  * @param string $mixValue New value of the property
  * @return mixed
  */
 public function __set($strName, $mixValue)
 {
     switch ($strName) {
         ///////////////////
         // Member Variables
         ///////////////////
         case 'PrimaryKey':
             /**
              * Sets the value for strPrimaryKey 
              * @param integer $mixValue
              * @return string
              */
             try {
                 return $this->strPrimaryKey = QType::Cast($mixValue, QType::String);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
         default:
             try {
                 return parent::__set($strName, $mixValue);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 public function __set($strName, $mixValue)
 {
     switch ($strName) {
         // APPEARANCE
         case "Display":
             try {
                 $this->blnDisplay = QType::Cast($mixValue, QType::Boolean);
                 // $this->MarkAsWrapperModified();
                 break;
             } catch (QInvalidCastException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
         default:
             try {
                 parent::__set($strName, $mixValue);
                 break;
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }