hey,

I'm writing an extension which defines a class.  In the constructor, I'd like to 
create a member variable which I can then access with the other member functions in my 
extension.

In php it would be like :

class foo
{

        var $m_bar;

        function foo()
        {
                $this->m_bar = 123;
        }

        function a()
        {
                return $this->m_bar;
        }

}

but I can't figure out how to do it within the extension.

thanks,


barry

-- 
http://www.theshining.org

-- 
PHP Development 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