summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/common/InfoBox.php
blob: d4e6ebdcd079c2f9e871652ed1b7ea26ee019457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?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>");
	}
}