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
|
/**function experience(){
experience('id','categorie','societe','ville','dept','pays','titre','soustitre','logo','typcontrat','datedeb','datefin','resume','technique','tool','detail','credate');
}**/
//constructeur surcharge
function experience($expid,$cat,$soc,$ville,$dept,
$pays,$titre,$soustitre,$logo,$typcontrat,$datedeb,
$datefin,$resume,$tech,$tool,$detail,$credate){
$newexp->expid = $this->setExpId($expid);
$newexp->cat = $this->setCat($cat);
$newexp->soc = $this->setSoc($soc);
$newexp->ville = $this->setVille($ville);
$newexp->dept = $this->setDept($dept);
$newexp->pays = $this->setPays($pays);
$newexp->titre = $this->setTitre($titre);
$newexp->soustitre = $this->setSousTitre($soustitre);
$newexp->logo = $this->setLogo($logo);
$newexp->typcontrat = $this->setTypContrat($typcontrat);
$newexp->datedeb = $this->setDateDeb($datedeb);
$newexp->datefin = $this->setDateFin($datefin);
$newexp->resume = $this->setResume($resume);
$newexp->tech = $this->setTech($tech);
$newexp->tool = $this->setTool($tool);
$newexp->detail = $this->setDetail($detail);
$newexp->credate = $this->setCreDateExp($credate);
//echo 'test : newuser est cré'; //DEBUG ONLY
return $newexp;
} |