summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/common/InfoBox.php
blob: 271ce1e7302d906dca07f28cf25e761799d9fc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

class InfoBox extends TControl
{
	public function render($writer)
	{
		$writer->write("<div class=\"info\"><b class=\"tip\">Info:</b>\n");
		$body=$this->renderChildren($writer);
		$writer->write("</div>");
	}
}

?>