blob: 6596dca68238410967d79d61c86984769be17875 (
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 = 'Prado framework';
}
function button4_clicked($sender, $param)
{
$img = $this->publishFilePath(dirname(__FILE__).'/hello_world.gif');
$this->link4->ImageUrl = $img;
}
}
|