You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
639 B

<?php
class ReponseQCM {
private $numReponse;
private $reponse;
private $numQuestion;
function __construct($numReponse,$reponse,$numQuestion){
$this->numReponse = $numReponse;
$this->reponse = $reponse;
$this->numQuestion = $numQuestion;
}
function getNumReponse() {
return $this->numReponse;
}
function getReponse() {
return $this->reponse;
}
function getNumQuestion() {
return $this->numQuestion;
}
public function __toString(){
$output = ''.$this->getReponse();
return $output;
}
}