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

?>