Location: PHPKode > scripts > TagTemplate > tagtemplate/index.php
<?php
include_once ("class_TagTemplate.php");
$Objeto = new TagTemplate();
# Setup de tags
$Objeto->setTagContent("title","title","Tag Template by Marcelo Costa");
$Objeto->setTagContent("myjavascript","script",null,array("src"=>"myjavascript.js","type"=>"text/javascript"));
$Objeto->setTagSimple("mycssfile","link",array("href"=>"mycssfile.css","rel"=>"stylesheet","type"=>"text/css"));
$Objeto->setTagContent("text","h3","Hello World");
$Objeto->useTemplate("template.php");
?>
Return current item: TagTemplate