cssClass); foreach($myClasses as $myClass) { if (preg_match("/rootDescription_([0-9]+)/", $myClass, $match)) { $myContent = $match[1]; break; } } if (!is_null($myContent)) { echo $this->replaceInsertTags("{{insert_content::$myContent}}"); } ?>