Subversion Repositories Applications.gtt

Rev

Rev 104 | Rev 118 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 104 Rev 110
Line 242... Line 242...
242
		} elseif ($nbre_enregistrement_suppr == 0) {
242
		} elseif ($nbre_enregistrement_suppr == 0) {
243
			return false;
243
			return false;
244
		}
244
		}
245
	}
245
	}
Line -... Line 246...
-
 
246
	
-
 
247
	/** Mettre à NULL les champs de l'objet*/
-
 
248
	public function initialiser()
-
 
249
	{
-
 
250
		foreach ($this->getCorrespondance() as $champ => $attribut) {
-
 
251
			$methode = $this->donnerMethodeGetAvecAttribut($attribut);
-
 
252
			$this->$methode(null);
-
 
253
		}
-
 
254
	}
246
	
255
	
247
	/** Afficher l'objet courrant. */
256
	/** Afficher l'objet courrant. */
248
	public function afficher()
257
	public function afficher()
249
	{
258
	{
250
		echo '<pre>'.print_r($this, true).'</pre>';
259
		echo '<pre>'.print_r($this, true).'</pre>';