summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php
blob: ecae78761a143bcaffb576ad0046c976b8820c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

class Home extends TPage
{
	public function onInit($param)
	{
		parent::onInit($param);
		$label=new TLabel;
		$label->Text='dynamic';
		$label->BackColor='silver';
		$this->PlaceHolder1->Controls[]=$label;
		$this->PlaceHolder1->Controls[]=' content';
	}
}

?>