URGENT: Reference...
| From: | Martin Thoma | Date: | Sat, 02 Sep 2000 18:22:09 +0000 |
| Subject: | URGENT: Reference... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14936@lists.php.net to get a copy of this message | ||
Hello !
I got a class to make a Tree-like structure:
class MenuItem
{ var childs = array();
function MenuItem()
{ .. some constuctor things...
}
function AddChild()
{
}
and in the class there is an array of objects.
I have a function FindObject, which searches for an object:
$test = $root->SearchObject(someParameters);
The SearchObject