summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php
blob: c60d4c673e86480ff238fcf2ad3a8d966ff11095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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);
	}
}
?>