I have two classes.  Organization and users.

In the organization class I am try to keep an array of user objects but it 
does not seem to be taking.  Can any help?  See code below.

class Organization
{
    var $users = array();

    function AddUser($oUser)
    {
        array_push($this->users, $objUser);
    }

    function numberOfUsers()
    {
        return count($this->users);
    }

}

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to