public function renderTag($tag)
    {
        $str = "<".$tag["tag"];
        foreach ($tag["options"] as $key=>$value) {
            $str.=" $key='$value'";
        }
        $str.=">".$tag["content"]."</".$tag["tag"].">";
        return $str;
    }
public function renderTag($tag)
    {
        $str = "<".$tag["tag"];
        foreach ($tag["options"] as $key=>$value) {
            $str.=" $key='$value'";
        }
        $str.=">".$tag["content"]."</".$tag["tag"].">";
        return $str;
    }
public function renderTag ( $ tag ) { $ str = "<" . $ tag [ "tag" ] ; foreach ( $ tag [ "options" ] as $ key => $ value ) { $ str .= " $key='$value'" ; } $ str .= ">" . $ tag [ "content" ] . "</" . $ tag [ "tag" ] . ">" ; return $ str ; }
Render a tag

@param array $tag Tag settings

@return string The hmtl string representing the tag
Render a tag