public function __set($Name, $Value) { if ('News' == $Name) { if (is_array($Value)) { $this->_news = $Value; } else { throw new Exception('$Value must be an array'); } } else { parent::__set($Name, $Value); } }