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