PHP Classes

File: sample.fluent.simple.php

Recommend this page to a friend!
  Classes of Tom Schaefer  >  QTag  >  sample.fluent.simple.php  >  Download  
File: sample.fluent.simple.php
Role: Example script
Content type: text/plain
Description: sample simple (fluent design)
Class: QTag
Generate tag based documents programmatically
Author: By
Last change:
Date: 13 years ago
Size: 617 bytes


Class file image Download

include_once '';

$html = QTag::factory("html");
$head = QTag::factory("head");
$body = QTag::factory("body");

$title = QTag::factory("title")
add("new template engine");

$script = QTag::factory("script")
add("<!-- javascript -->");

$head ->add($title)

$html ->add($head);

$div = QTag::factory("div")->setAttribute("id","test");

$textarea = QTag::factory("textarea")
add("text für eine textarea");





For more information send a message to info at phpclasses dot org.