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

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

?>