Mailinglisten-Archive |
Hi, * Andreas Teichrib wrote: > class klasse2 { > var $klasse1 = new klasse1; > function test2() { > $this->klasse1->test1(); > } class klasse2 { /* Constructor */ function klasse2() { $this->klasse1 = new klasse1; } function test2() { /* ... */ } } So würde ich's machen. -- <?php class new_media_development { var $url="http://www.rent-a-phpwizard.de/"; var $fon="0931/7843792"; var $fax="0931/7843795"; } ?>
php::bar PHP Wiki - Listenarchive