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

?>