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