I have two classes. Class box is basically a sub class that is only called
from the Class Print.  The problem is I would like to have an array in Class
Print that will store instances of Class box.

example

class Print{

        var arrayofboxes = array();

//other stuff

        $tempbox = $this->arrayofboxes[0];   //supposed to load a box

        $tembox->getinfo();

}

class Box{
        box(){
                 //various info
        }

        getinfo(){

        }

        //other stuff
}


When I go to unload the box out of array into $tempbox nothing is there.

Where happened that instance and where can I get the info about that class.

ryan


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to