Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
class Sample3 extends TPage
4
{
5
	public function wizard3Completed($sender,$param)
6
	{
7
		if($this->StudentCheckBox->Checked)
8
		{
9
			$str="You are a college student.<br/>";
10
			$str.="You are in major: ".$this->DropDownList11->SelectedValue."<br/>";
11
			$str.="Your favorite sport is: ".$this->DropDownList22->SelectedValue;
12
		}
13
		else
14
			$str="Your favorite sport is: ".$this->DropDownList22->SelectedValue;
15
		$this->Wizard3Result->Text=$str;
16
	}
17
 
18
	public function wizard3NextStep($sender,$param)
19
	{
20
		if($param->CurrentStepIndex===0 && !$this->StudentCheckBox->Checked)
21
			$this->Wizard3->ActiveStepIndex=2;
22
	}
23
}
24
 
25
?>