blob: 742e7048f8cbf44c1edc331abbdb2f574c43728a (
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
27
28
29
30
31
|
<?php
/**
* BActiveFileUploadTest.php
*
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @version Creation Date: Aug 9, 2007
*/
/**
* BActiveFileUploadTest.php class
*
*
*
* Properties
* -
*
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @version Modified Date: Aug 9, 2007
*
* Modifications:
*/
class TActiveFileUploadAutoPostBackTest extends TPage{
public function onPreRender($param){
parent::onPreRender($param);
$this->button1->Attributes->onclick = "{$this->uploader->getCallbackJavascript()}; return false;";
}
public function uploadComplete($sender, $param){
$this->label1->setText($sender->getFileName());
}
}
|