public function __set($strKey, $varValue) { switch ($strKey) { case 'options': $this->arrOptions = \StringUtil::deserialize($varValue); break; default: parent::__set($strKey, $varValue); break; } }