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

class LargePageStateTest2 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... ';
	}
}