public function parseCentre($text) { $text = str_replace("[centre:{$this->uid}]", '<center>', $text); $text = str_replace("[/centre:{$this->uid}]", '</center>', $text); return $text; }