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

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