summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php
blob: c125d902ed7a2ef8cd932e6fb1b23d296cffbf0e (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;
	}
}
?>