name = $name; $this->filter = $filter; } //Set function for public properties public function __set($strName, $mixValue) { switch ($strName) { case "Name": $this->name = QType::Cast($mixValue, QType::String); break; case "Filter": $this->filter = QType::Cast($mixValue, QType::Object); break; } } //Get function for public properties public function __get($strName) { switch ($strName) { case "Name": return $this->name; case "Filter": return $this->filter; } } } ?>