예제 #1
0
							</td>
						</tr>
						<tr>
							<td width="20%"><label for="addMatiere"> Matiere : </label></td>
							<td width="30%">
								<select id="addMatiere" name="addMatiere">
									<option value=""></option>
								</select>
							</td>
						</tr>
						<tr>
							<td><label for="typeEval">Type d'&eacute;valuation : </label></td>
							<td><select id="typeEval" name="addType">
									<option value=""></option>
									<?php
									$typeEval = TypeEvaluation::getAll();
									foreach ($typeEval as $te) {
										echo '<option value="' . $te->getIdTypeEvaluation() . '">' . $te->getLibelleTypeEvaluation() . '</option>';
									}
									?>
								</select></td>
						</tr>
						<tr>
							<td><label for="contenu">D&eacute;tail (Autre) : </label></td>
							<td>
								<input id="contenu" type="text" name="autreEval">
							</td>
						</tr>
						<tr>
							<td><label for="addMax"> Note Max de l'&eacute;valuation : </label></td>
							<td colspan="3"><input type="text" id="addMax" name="addMax" value="20"></td>
예제 #2
0
	public function getLibelleEvaluation () {
		$return = '';
		$typeEval = TypeEvaluation::getById($this->getIdTypeEvaluation());
		if (strtoupper($typeEval->getLibelleTypeEvaluation()) == 'AUTRE') $return .= $this->getAutreEvaluation();
		else
			$return .= $typeEval->getLibelleTypeEvaluation();
		$return .= ($this->getTitreEvaluation()?' '.$this->getTitreEvaluation().' ':'');
		$return .= ' du : ' . $this->afficheDateEvaluation();
		return $return;
	}