summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/common/InfoBox.php
blob: 97b660673a95a5a91f808c1c4e4e1560d66f7873 (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>");
	}
}

?>