How many copies
| From: | Uros Gruber | Date: | Thu, 20 Jun 2002 09:02:04 +0000 |
| Subject: | How many copies | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103097@lists.php.net to get a copy of this message | ||
Hi!
my example
class A {
var $bar = "bar";
function set($data) {
echo "settig:" .$data;
}
function foo() {
B::get($this->bar) ;
}
}
class B {
function get($bar) {
$bar = $bar . "+foo";
A::set($bar);
}
}
My question is. Will this work and how many time class A will
be made. one or 2 times. And is it possible to use properties
from class A in funstion set if i call it from class B, how
do i reference to it.
--
lp,
Uros mailto:uros.gruber@sir-mag.com