note 22270 added to language.oop
| From: | tobias at schlitt dot info | Date: | Wed, 12 Jun 2002 16:00:23 +0000 |
| Subject: | note 22270 added to language.oop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31747@lists.php.net to get a copy of this message | ||
Hi again!
Thats a good workaround, but what about setting Element-Data?
Think about:
$test_baz =& $test_foo->getElement();
$test_baz->setName("blah");
Will this set the Value of my $test_bar inside $test_foo, or just the Value of the Copy?
How to workout this??
Thanks for the Help!
P.S.: I have allways done Functional-Programming in PHP, not OOP.... sorry!
--
http://www.php.net/manual/en/language.oop.php
http://master.php.net/manage/user-notes.php?action=edit+22270
http://master.php.net/manage/user-notes.php?action=delete+22270
http://master.php.net/manage/user-notes.php?action=reject+22270