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