summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php
blob: 966c8be0dc752ba7b1c3255621f83c78b1587e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
class ActiveBricksTest extends TPage
{

	function insertBrick($sender, $param)
	{
		$x= Prado::createComponent("Application.pages.LTemplate");
		$x->Size = $sender->NamingContainer->findControl("MySize")->SelectedValue;
		$this->placeholder->getControls()->add($x);
		$this->Page->CallbackClient->insertContentAfter($this->AjaxInsertPoint, $x);
	}
}