summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php
blob: 45ea1584b2a818c8ae8fa1c4e2e9fa06ce8578bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

class Home extends TPage
{
	function button1_clicked($sender, $param)
	{
		$this->link1->NavigateUrl = 'http://www.google.com';
	}

	function button2_clicked($sender, $param)
	{
		$this->link2->Target = '_self';
	}

	function button3_clicked($sender, $param)
	{
		$this->link3->Text = 'PradoSoft.com';
	}

	function button4_clicked($sender, $param)
	{
		$img = $this->publishFilePath(dirname(__FILE__).'/hello_world.gif');
		$this->link4->ImageUrl = $img;
	}
}
?>