[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/demos/quickstart/protected/pages/Controls/Samples/TWizard/ -> Sample3.php (source)

   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  ?>


Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7