summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
blob: 1102ffb29d341c21efb298064ef06d0478a90faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

class LargePageStateTest extends TPage
{
	function onLoad($param)
	{
		parent::onLoad($param);
		for($i=0;$i<100;$i++) //may try 10000, but may crash PHP.
		{
			$label = new TLabel();
			$label->Text=" this is a very long label with some text $i:";
			$this->Panel1->Controls[] = $label;
		}
	}

	function button_clicked($sender, $param)
	{
		$this->status->Text .= ' Callback Clicked... ';
	}
}

?>