case '<%= $strPropertyName %>': return ($this-><%= $strControlId %> = QType::Cast($mixValue, 'QControl'));