Ich sollte den Whiskey beim Programmieren weglassen:
Code:
$Contact = new Contact();
$Contact->SetName("Puff");
$Contact->SetVorname("Michael");
$ContactList->Add($Contact);
$Contact = new Contact();
$Contact->SetName("Müller");
$Contact->SetVorname("Karl");
$ContactList->Add($Contact);
$Contact = new Contact();
$Contact->SetName("Schmidt");
$Contact->SetVorname("Hans");
$ContactList->Add($Contact);