content = gatherInformations(); } public function getContent() { return $this->content; } public function getTitle() { return $this->content; } public function addContent($contenttoadd) { $content = $content . $contenttoadd; } public function addTitle($contenttoadd) { $title = $title." - ".$titletoadd; } } ?> -------------------------------- .*).*(.*)%s', $info, $matches); addContent($matches[2]); } } ?>