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