public function setContents(array $aContents) { $this->aContents = array(); foreach ($aContents as $content) { $this->append($content); } }