function majNote() { if ($this->droit) { // $session->setLogSup ( 'Mise à jour du bloc-notes' ) ; $data['note'] = utf8_decode(stripslashes($_REQUEST['note'])); $requete = new XhamRequete(BASEXHAM, 'notes', $data); $requete->uoiRecord("ids='" . $this->xham->getNavi(2) . "'"); } }
public function uoiGen($valIndex = '', $param) { if ($valIndex == '') { $valIndex = $this->id; } $requete = new XhamRequete($this->getBDD(), $this->nomTable, $param, $this->getHost(), $this->getUser(), $this->getPass()); return $requete->uoiRecord($this->nomId . '=' . $valIndex . ' ' . $this->reqand); }